This commit is contained in:
parent
468e4801cf
commit
199d818f38
1 changed files with 2 additions and 2 deletions
|
@ -921,8 +921,8 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable
|
||||||
$join = ($delimeter == ':') ? 'INNER JOIN ' : 'LEFT JOIN ';
|
$join = ($delimeter == ':') ? 'INNER JOIN ' : 'LEFT JOIN ';
|
||||||
|
|
||||||
$relation = $table->getRelation($name);
|
$relation = $table->getRelation($name);
|
||||||
|
$table = $relation->getTable();
|
||||||
$this->_aliasMap[$componentAlias] = array('table' => $relation->getTable(),
|
$this->_aliasMap[$componentAlias] = array('table' => $table,
|
||||||
'parent' => $parent,
|
'parent' => $parent,
|
||||||
'relation' => $relation);
|
'relation' => $relation);
|
||||||
if ( ! $relation->isOneToOne()) {
|
if ( ! $relation->isOneToOne()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue