summaryrefslogtreecommitdiff
path: root/core/helpers/access.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-22 17:36:58 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-22 17:36:58 +0000
commit95fc61c9a8495e9fd4e1ea5e4fd3426886c70f0b (patch)
treec554f47a24f1a23b3b13f4b15476dc7523491357 /core/helpers/access.php
parentd61691fd95eca1246d36b5e36d7696369301a8b5 (diff)
Standardize to uppercase DESC in the order by method calls
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();