"Fixes #3737, ACL behavior warnings"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6213 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-12-23 07:10:38 +00:00
parent cf87b90bbc
commit 0ff7b98d5b

View file

@ -52,7 +52,7 @@ class AclBehavior extends ModelBehavior {
if (is_string($config)) {
$config = array('type' => $config);
}
$this->settings[$model->alias] = array_merge(array('type' => 'requester'), $config);
$this->settings[$model->alias] = array_merge(array('type' => 'requester'), (array)$config);
$type = $this->__typeMaps[$this->settings[$model->alias]['type']];
if (!ClassRegistry::isKeySet($type)) {