summaryrefslogtreecommitdiff
path: root/modules/exif/helpers/exif.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-26 20:25:32 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-26 20:25:32 -0800
commitdee3ee81e2013f0b38e0f84123dec2ce12574bd7 (patch)
treee785c7e1878d9aa7af03d3fd1cd2890cb983a1be /modules/exif/helpers/exif.php
parent3dd8bf245ea16fe1b9f1c27c4ad42d11d3cde1ee (diff)
Database::orwhere() is now Database_Builder::or_where()
Diffstat (limited to 'modules/exif/helpers/exif.php')
-rw-r--r--modules/exif/helpers/exif.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/exif/helpers/exif.php b/modules/exif/helpers/exif.php
index b4241e89..a8b12a8b 100644
--- a/modules/exif/helpers/exif.php
+++ b/modules/exif/helpers/exif.php
@@ -146,7 +146,7 @@ class exif_Core {
->where("type", "=", "photo")
->and_open()
->where("exif_records.item_id", "=", null)
- ->orwhere("exif_records.dirty", "=", 1)
+ ->or_where("exif_records.dirty", "=", 1)
->close()
->get()
->count();