1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-05-24 14:36:10 +00:00
parent 468e4801cf
commit 199d818f38

View File

@ -921,8 +921,8 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
$join = ($delimeter == ':') ? 'INNER JOIN ' : 'LEFT JOIN ';
$relation = $table->getRelation($name);
$this->_aliasMap[$componentAlias] = array('table' => $relation->getTable(),
$table = $relation->getTable();
$this->_aliasMap[$componentAlias] = array('table' => $table,
'parent' => $parent,
'relation' => $relation);
if ( ! $relation->isOneToOne()) {