Skip to content

Commit

Permalink
No array short syntax in 2.4\!
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpinkus committed Mar 29, 2014
1 parent 863a855 commit dbbf6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Command/AclShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit dbbf6c6

Please sign in to comment.