mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
No array short syntax in 2.4\!
This commit is contained in:
parent
863a8555d9
commit
dbbf6c6ad9
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue