diff options
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 81fb9415..75efac66 100644 --- a/core/helpers/access.php +++ b/core/helpers/access.php @@ -318,7 +318,7 @@ class access_Core { ->join("access_intents", "items.id", "access_intents.item_id") ->where("left <", $item->left) ->where("right >", $item->right) - ->where("$field IS NOT", null) + ->where("$field", self::DENY) ->orderby("left", "DESC") ->limit(1) ->find(); |