diff --git a/lib/Cake/Model/Permission.php b/lib/Cake/Model/Permission.php index 5a781ff16..4268f3ad2 100644 --- a/lib/Cake/Model/Permission.php +++ b/lib/Cake/Model/Permission.php @@ -82,9 +82,9 @@ class Permission extends AppModel { $aroPath = $this->Aro->node($aro); $acoPath = $this->Aco->node($aco); - if (!$aroPath || !$acoPath) { + if (!$aroPath) { trigger_error(__d('cake_dev', - "%s - Failed ARO/ACO node lookup in permissions check. Node references:\nAro: %s\nAco: %s", + "%s - Failed ARO node lookup in permissions check. Node references:\nAro: %s\nAco: %s", 'DbAcl::check()', print_r($aro, true), print_r($aco, true)),