From 43c8eba2c7b84527c3599609ab1745c690e0e74f Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 13 Nov 2007 23:08:12 +0000 Subject: [PATCH] --- lib/Doctrine/Template/I18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Template/I18n.php b/lib/Doctrine/Template/I18n.php index adfa1f8ed..a3f17cde7 100644 --- a/lib/Doctrine/Template/I18n.php +++ b/lib/Doctrine/Template/I18n.php @@ -62,7 +62,7 @@ class Doctrine_Template_I18n extends Doctrine_Template $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)); } /**