summaryrefslogtreecommitdiff
path: root/core/helpers/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/access.php')
-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 6540e3b8..8a88bdf5 100644
--- a/core/helpers/access.php
+++ b/core/helpers/access.php
@@ -158,7 +158,7 @@ class access_Core {
->where("`items`.`id` <> $item->id")
->join("access_intents", "items.id", "access_intents.item_id")
->where("access_intents.view_$group->id", 0)
- ->orderby("level", "desc")
+ ->orderby("level", "DESC")
->limit(1)
->find();