This commit is contained in:
parent
8e127bfc33
commit
43c8eba2c7
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class Doctrine_Template_I18n extends Doctrine_Template
|
||||||
|
|
||||||
$id = $this->_table->getIdentifier();
|
$id = $this->_table->getIdentifier();
|
||||||
|
|
||||||
$this->hasMany($className . ' as Translation', array('local' => $id[0], 'foreign' => $id[0]));
|
$this->hasMany($className . ' as Translation', array('local' => $id, 'foreign' => $id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue