1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
romanb 2007-12-02 12:56:15 +00:00
parent 8557d9d87d
commit 5e26473340

View File

@ -211,7 +211,7 @@ class Doctrine_RawSql extends Doctrine_Query_Abstract
foreach ($this->getTableAliasMap() as $tableAlias => $componentAlias) {
$map = $this->_queryComponents[$componentAlias];
foreach ((array) $map['table']->getIdentifier() as $key) {
foreach ((array) $map['table']->getIdentifierColumnNames() as $key) {
$field = $tableAlias . '.' . $key;
if ( ! isset($this->_sqlParts['select'][$field])) {