Skip to content

Commit

Permalink
fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ximum committed Nov 3, 2021
1 parent 1dbabf1 commit c50dc97
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 c50dc97

Please sign in to comment.