summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/graphics.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-25 19:26:52 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-25 19:26:52 -0800
commit0121bfd5850bdc59bf0cd656c61c953421a85890 (patch)
tree439172283f1ae2653407af2b38a3a57895adf104 /modules/gallery/helpers/graphics.php
parent0ef6994f23300f3c6bfb83193b4101202dbc16f8 (diff)
ORM::orderby -> ORM::order_by
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
-rw-r--r--modules/gallery/helpers/graphics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index a78cadd0..aef09003 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -183,7 +183,7 @@ class graphics_Core {
foreach (ORM::factory("graphics_rule")
->where("target", $target)
->where("active", true)
- ->orderby("priority", "asc")
+ ->order_by("priority", "asc")
->find_all() as $rule) {
$rules[] = (object)$rule->as_array();
}