Merge branch 'master' into 2.3

This commit is contained in:
mark_story 2012-09-28 21:20:24 -04:00
commit 59e948fb1b
9 changed files with 76 additions and 44 deletions
lib/Cake/Model

View file

@ -3261,7 +3261,7 @@ class Model extends Object implements CakeEventListener {
return array($with, array_unique(array_merge($assoc[$with], $keys)));
}
trigger_error(
__d('cake_dev', 'Invalid join model settings in %s', $model->alias),
__d('cake_dev', 'Invalid join model settings in %s. The association parameter has the wrong type, expecting a string or array, but was passed type: %s', $this->alias, gettype($assoc)),
E_USER_WARNING
);
}