From 1173b21f959eb013fc1844c5a1d5f3a071a1d455 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 23 Apr 2009 04:53:19 +0000 Subject: Fix bug in the item_before_delete() event handler --- modules/g2_import/helpers/g2_import_event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import/helpers') 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)); } } -- cgit v1.2.3