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 a759fca1..a2b3a761 100644 --- a/core/helpers/access.php +++ b/core/helpers/access.php @@ -155,7 +155,7 @@ class access_Core { $lock = ORM::factory("item") ->where("`left` <= $item->left") ->where("`right` >= $item->right") - ->where("`items`.`id` <> $item->id") + ->where("items.id <> $item->id") ->join("access_intents", "items.id", "access_intents.item_id") ->where("access_intents.view_$group->id", 0) ->orderby("level", "DESC") |