mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
"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:
parent
cf87b90bbc
commit
0ff7b98d5b
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue