diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-11 14:32:18 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-11 14:32:18 +0000 |
| commit | 11477cbc3e86cc0d799d982b94cf05931e5606d8 (patch) | |
| tree | 7eea6496967006e2329b33adbca6ed67b1d85ddc | |
| parent | 784b3aa34aa3d42b6a56cae3385dce63dfe0e034 (diff) | |
Correct the reference to $item->id
| -rw-r--r-- | modules/exif/helpers/exif_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/exif/helpers/exif_event.php b/modules/exif/helpers/exif_event.php index 58db2e57..f0c4d584 100644 --- a/modules/exif/helpers/exif_event.php +++ b/modules/exif/helpers/exif_event.php @@ -23,6 +23,6 @@ class exif_event_Core { } static function item_before_delete($item) { - Database::instance()->delete("exif_records", array("item_id" => $item_id)); + Database::instance()->delete("exif_records", array("item_id" => $item->id)); } } |
