1
0
mirror of synced 2025-03-28 10:53:49 +03:00
This commit is contained in:
zYne 2007-04-26 17:42:03 +00:00
parent 9460ff9e2c
commit e81891e310

View File

@ -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;