This commit is contained in:
parent
9460ff9e2c
commit
e81891e310
@ -893,10 +893,11 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
|
||||
$e = explode(' ', $part);
|
||||
|
||||
// don't add primarykey column (its already in the select clause)
|
||||
if($e[0] !== $primaryKey)
|
||||
if ($e[0] !== $primaryKey) {
|
||||
$subquery .= ', ' . $e[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$subquery .= ' FROM ' . $this->conn->quoteIdentifier($table->getTableName()) . ' ' . $alias;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user