Skip to content

Commit a1a2291

Browse files
authored
Merge pull request #170 from m4ximum/master
fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x
2 parents 1dbabf1 + c50dc97 commit a1a2291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/PermissionsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function check($aro, $aco, $action = '*')
103103
}
104104

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

108108
$count = $aroPath->count();
109109
$aroPaths = $aroPath->toArray();

0 commit comments

Comments
 (0)