From 95fc61c9a8495e9fd4e1ea5e4fd3426886c70f0b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 22 Feb 2009 17:36:58 +0000 Subject: Standardize to uppercase DESC in the order by method calls --- core/helpers/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/access.php') 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(); -- cgit v1.2.3