In recent nightly releases there is a problem with acl behavior. When
having $actsAs='Acl'; without additional parameters I get several
warnings.

Traced down a problem to a setup() function of acl.php behavior which
gets null as second parameter - $config.

When i change line 55 (rev 6128) from

$this->settings[$model->alias] = array_merge(array('type' =>
'requester'), $config);
to
$this->settings[$model->alias] = array_merge(array('type' =>
'requester'), (array)$config);

everything works fine.

Is it a bug or am I doing sth wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to