diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-10 22:19:39 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-10 22:19:39 +0000 |
commit | 52ed3f11fde503891628329c0083cd86474834ff (patch) | |
tree | 5637b9ed81a095ef2e8affa0fc311062191a85a6 /core/helpers/access.php | |
parent | 7e5935d5325a7bc20fb5603a76a5af4d7df499a9 (diff) |
Fix problem with access::can, where the $item->id was being passed to the access_group::can method.
Diffstat (limited to 'core/helpers/access.php')
-rw-r--r-- | core/helpers/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/access.php b/core/helpers/access.php index 57fad3c0..993f8e5b 100644 --- a/core/helpers/access.php +++ b/core/helpers/access.php @@ -113,7 +113,7 @@ class access_Core { } return false; } else { - return self::group_can(group::EVERYBODY, $perm_name, $item->id); + return self::group_can(group::EVERYBODY, $perm_name, $item); } } |