Fix typo on TranslateBehavior error message

This commit is contained in:
Kyle Robinson Young 2011-12-13 22:26:22 -08:00
parent d83115927d
commit e6e0027ec7

View file

@ -420,7 +420,7 @@ class TranslateBehavior extends ModelBehavior {
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;