No array short syntax in 2.4\!

This commit is contained in:
sam-at-github 2014-03-29 22:40:58 +11:00
parent 863a8555d9
commit dbbf6c6ad9

View file

@ -156,7 +156,7 @@ class AclShell extends AppShell {
$identifier = array('alias' => $identifier);
}
if ($this->Acl->{$class}->find('all', ['conditions' => $identifier])) {
if ($this->Acl->{$class}->find('all', array('conditions' => $identifier))) {
if (!$this->Acl->{$class}->deleteAll($identifier)) {
$this->error(__d('cake_console', 'Node Not Deleted. ') . __d('cake_console', 'There was an error deleting the %s.', $class) . "\n");
}