summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-04 21:38:39 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-04 21:38:39 -0800
commit1cab4221ab03afb532ce20e0b8eb0da33ea3bec5 (patch)
tree8663a8abac5bde16083ff95a769985b139bdc243
parent6b8a52d3287a8ead8be26070b354e672e9e1c0fd (diff)
parent8ae0d4c196c6dbd8877f4f8c6523ee854f877669 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
-rw-r--r--modules/gallery/models/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index dac939de..4a3d26e9 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -460,7 +460,7 @@ class Item_Model extends ORM_MPTT {
// deal with it the hard way.
$count = $db->from("items")
->where("parent_id", "=", $this->id)
- ->where($this->sort_column, "IS", NULL)
+ ->where($this->sort_column, "IS", null)
->merge_where($where)
->count_records();