mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #377 from shama/2.0
Fix typo on TranslateBehavior error message
This commit is contained in:
commit
102b96f25c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue