Skip to content

Commit

Permalink
Fix ACLs for L5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlpp committed Sep 7, 2016
1 parent fa1c610 commit 5637a1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/helpers/sharp_auth_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function check_ability($name, $categoryKey, $entityKey=null, $entityId=null, arr
if(!Gate::has($ability)) return true;

if($entityId) {
$params = ["id" => $entityId] + $params;
$params = [$entityId] + $params;
}

return Gate::check($ability, $params);
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.24
3.1.25

0 comments on commit 5637a1b

Please sign in to comment.