diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-23 04:53:19 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-23 04:53:19 +0000 |
commit | 1173b21f959eb013fc1844c5a1d5f3a071a1d455 (patch) | |
tree | 3b3f32de1b092a71709306bf216923826a3be922 | |
parent | 38b5c02cfca42c7e7abc385fbf59639a7f0c59ca (diff) |
Fix bug in the item_before_delete() event handler
-rw-r--r-- | modules/g2_import/helpers/g2_import_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import_event.php b/modules/g2_import/helpers/g2_import_event.php index 1352dc1f..205de98e 100644 --- a/modules/g2_import/helpers/g2_import_event.php +++ b/modules/g2_import/helpers/g2_import_event.php @@ -19,6 +19,6 @@ */ class g2_import_event_Core { static function item_before_delete($item) { - Database::instance()->delete("g2_maps", array("g3_id", $item->id)); + Database::instance()->delete("g2_maps", array("g3_id" => $item->id)); } } |