summaryrefslogtreecommitdiff
path: root/modules/exif/helpers/exif_theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/exif/helpers/exif_theme.php')
-rw-r--r--modules/exif/helpers/exif_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/exif/helpers/exif_theme.php b/modules/exif/helpers/exif_theme.php
index bb6926d3..db51f305 100644
--- a/modules/exif/helpers/exif_theme.php
+++ b/modules/exif/helpers/exif_theme.php
@@ -24,7 +24,7 @@ class exif_theme_Core {
$record = Database::instance()
->select("key_count")
->from("exif_records")
- ->where("item_id", $item->id)
+ ->where("item_id", "=", $item->id)
->get()
->current();
if ($record && $record->key_count) {