diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 19:26:52 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 19:26:52 -0800 |
commit | 0121bfd5850bdc59bf0cd656c61c953421a85890 (patch) | |
tree | 439172283f1ae2653407af2b38a3a57895adf104 /modules/gallery/helpers/item.php | |
parent | 0ef6994f23300f3c6bfb83193b4101202dbc16f8 (diff) |
ORM::orderby -> ORM::order_by
Diffstat (limited to 'modules/gallery/helpers/item.php')
-rw-r--r-- | modules/gallery/helpers/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php index 109fa6f8..7496d368 100644 --- a/modules/gallery/helpers/item.php +++ b/modules/gallery/helpers/item.php @@ -142,7 +142,7 @@ class item_Core { // @todo: figure out a better way to bootstrap the weight. $result = Database::instance() ->select("weight")->from("items") - ->orderby("weight", "desc")->limit(1) + ->order_by("weight", "desc")->limit(1) ->get()->current(); return ($result ? $result->weight : 0) + 1; } |