summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-02 04:54:37 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-02 04:54:37 +0000
commitea11562e3270764a1083b0b7e236be5331626504 (patch)
treed12b98be9b1397ce61b4e41dff535af76293b088 /core/helpers
parentae4c828b06a752775250239f82e688925ab0e529 (diff)
Oops, this was missing from the last fix.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/access.php2
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();