summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/comments.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 /modules/comment/controllers/comments.php
parentd61691fd95eca1246d36b5e36d7696369301a8b5 (diff)
Standardize to uppercase DESC in the order by method calls
Diffstat (limited to 'modules/comment/controllers/comments.php')
-rw-r--r--modules/comment/controllers/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php
index b4d7d24a..e3b75c56 100644
--- a/modules/comment/controllers/comments.php
+++ b/modules/comment/controllers/comments.php
@@ -31,7 +31,7 @@ class Comments_Controller extends REST_Controller {
$comments = ORM::factory("comment")
->where("item_id", $item->id)
->where("state", "published")
- ->orderby("created", "desc")
+ ->orderby("created", "DESC")
->find_all();
switch (rest::output_format()) {