Commit 74128a95 authored by zYne's avatar zYne

Fixed syntax error

parent d1047adb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment