|
|
@@ -91,12 +91,12 @@ class Permission extends AppModel {
|
|
|
$acoPath = $this->Aco->node($aco);
|
|
|
|
|
|
if (!$aroPath || !$acoPath) {
|
|
|
- trigger_error(__d('cake_dev', "DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:\nAro: ") . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING);
|
|
|
+ trigger_error(__d('cake_dev', "DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references:\nAro: %s\nAco: %s", print_r($aro, true), print_r($aco, true)), E_USER_WARNING);
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (!$acoPath) {
|
|
|
- trigger_error(__d('cake_dev', "DbAcl::check() - Failed ACO node lookup in permissions check. Node references:\nAro: ") . print_r($aro, true) . "\nAco: " . print_r($aco, true), E_USER_WARNING);
|
|
|
+ trigger_error(__d('cake_dev', "DbAcl::check() - Failed ACO node lookup in permissions check. Node references:\nAro: %s\nAco: %s", print_r($aro, true), print_r($aco, true)), E_USER_WARNING);
|
|
|
return false;
|
|
|
}
|
|
|
|