Skip to content

Commit

Permalink
Merge pull request #170 from m4ximum/master
Browse files Browse the repository at this point in the history
fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x
  • Loading branch information
othercorey authored Jan 20, 2022
2 parents 1dbabf1 + c50dc97 commit a1a2291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Table/PermissionsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function check($aro, $aco, $action = '*')
}

$inherited = [];
$acoIDs = $acoPath->extract('id')->toArray();
$acoIDs = $acoPath->all()->extract('id')->toArray();

$count = $aroPath->count();
$aroPaths = $aroPath->toArray();
Expand Down

0 comments on commit a1a2291

Please sign in to comment.