From 8ae0d4c196c6dbd8877f4f8c6523ee854f877669 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 4 Jan 2010 13:00:15 -0800 Subject: Change uppercase NULL to lowercase null to match the gallery3 style guide --- modules/gallery/models/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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(); -- cgit v1.2.3