Fixed syntax error
This commit is contained in:
parent
d1047adb1d
commit
74128a95d9
1 changed files with 3 additions and 1 deletions
|
@ -629,7 +629,9 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable {
|
|||
} else
|
||||
throw new Doctrine_Table_Exception("Only one-to-one relations are possible when local reference key is used.");
|
||||
|
||||
} elseif($component == $name || ($component == $alias && ($name == $this->name || in_array($name,$this->parents))) {
|
||||
} elseif($component == $name ||
|
||||
($component == $alias && ($name == $this->name || in_array($name,$this->parents)))) {
|
||||
|
||||
if( ! isset($local))
|
||||
$local = $this->identifier;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue