summaryrefslogtreecommitdiff
path: root/modules/exif
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-02 10:02:08 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-02 10:02:08 -0800
commit94411b36585a5bdf6225b8af6ae4ee5c21d5779d (patch)
tree4442a4ae403302d150ce25cc114ec1a47fb03c31 /modules/exif
parentd2cb217e20d44d7928a0910ac0375740de163bb3 (diff)
Fix a bunch of places where we were using "= null" instead of "IS NULL".
Diffstat (limited to 'modules/exif')
-rw-r--r--modules/exif/helpers/exif.php2
-rw-r--r--modules/exif/helpers/exif_task.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/exif/helpers/exif.php b/modules/exif/helpers/exif.php
index 3177e7eb..3baed177 100644
--- a/modules/exif/helpers/exif.php
+++ b/modules/exif/helpers/exif.php
@@ -145,7 +145,7 @@ class exif_Core {
->join("exif_records", "items.id", "exif_records.item_id", "left")
->where("type", "=", "photo")
->and_open()
- ->where("exif_records.item_id", "=", null)
+ ->where("exif_records.item_id", "IS", null)
->or_where("exif_records.dirty", "=", 1)
->close()
->execute()
diff --git a/modules/exif/helpers/exif_task.php b/modules/exif/helpers/exif_task.php
index e25e2405..27352643 100644
--- a/modules/exif/helpers/exif_task.php
+++ b/modules/exif/helpers/exif_task.php
@@ -47,7 +47,7 @@ class exif_task_Core {
->join("exif_records", "items.id", "exif_records.item_id", "left")
->where("type", "=", "photo")
->and_open()
- ->where("exif_records.item_id", "=", null)
+ ->where("exif_records.item_id", "IS", null)
->or_where("exif_records.dirty", "=", 1)
->close()
->find_all() as $item) {