From ea11562e3270764a1083b0b7e236be5331626504 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 2 Dec 2008 04:54:37 +0000 Subject: Oops, this was missing from the last fix. --- core/helpers/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers') 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(); -- cgit v1.2.3