1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fixed syntax error

This commit is contained in:
zYne 2006-09-18 20:11:21 +00:00
parent d1047adb1d
commit 74128a95d9

View File

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