Skip to content
Permalink
Browse files

No array short syntax in 2.4\!

  • Loading branch information...
sam-at-github committed Mar 29, 2014
1 parent 863a855 commit dbbf6c6ad986c44636fee93f82b06b0a64ed0800
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/AclShell.php
@@ -156,7 +156,7 @@ public function delete() {
$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");
}

0 comments on commit dbbf6c6

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.