Skip to content

Commit

Permalink
Fix error created in merge with 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 16, 2011
1 parent 1731b62 commit 3e17fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Behavior/TranslateBehavior.php
Expand Up @@ -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
)
);
Expand Down

0 comments on commit 3e17fee

Please sign in to comment.