Skip to content
Permalink
Browse files

Fix error created in merge with 1.3

  • Loading branch information...
markstory committed Oct 16, 2011
1 parent 1731b62 commit 3e17fee237f66136b2cbac2c11bd61d0f9b25fbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Behavior/TranslateBehavior.php
@@ -175,7 +175,7 @@ public function beforeFind($model, $query) {
'conditions' => array(
$model->alias . '.' . $model->primaryKey => $db->identifier("I18n__{$field}.foreign_key"),
'I18n__'.$field.'.model' => $model->name,
'I18n__'.$field.'.'.$RuntimeModel->displayField => $field,
'I18n__'.$field.'.'.$RuntimeModel->displayField => $aliasField,
'I18n__'.$field.'.locale' => $locale
)
);

0 comments on commit 3e17fee

Please sign in to comment.
You can’t perform that action at this time.