mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Merge pull request #2782 from jimmymadon/feature-clarify-acl-errors
Clarified ACL node lookup failed error.
This commit is contained in:
commit
278349aff9
1 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Reference in a new issue