Skip to content

Commit

Permalink
Fix typo on TranslateBehavior error message
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Dec 14, 2011
1 parent d831159 commit e6e0027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Behavior/TranslateBehavior.php
Expand Up @@ -420,7 +420,7 @@ public function bindTranslation($model, $fields, $reset = true) {
foreach (array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany') as $type) {
if (isset($model->{$type}[$association]) || isset($model->__backAssociation[$type][$association])) {
trigger_error(
__d('cake_dev', 'Association %s is already binded to model %s', $association, $model->alias),
__d('cake_dev', 'Association %s is already bound to model %s', $association, $model->alias),
E_USER_ERROR
);
return false;
Expand Down

0 comments on commit e6e0027

Please sign in to comment.