summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-23 04:53:19 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-23 04:53:19 +0000
commit1173b21f959eb013fc1844c5a1d5f3a071a1d455 (patch)
tree3b3f32de1b092a71709306bf216923826a3be922 /modules
parent38b5c02cfca42c7e7abc385fbf59639a7f0c59ca (diff)
Fix bug in the item_before_delete() event handler
Diffstat (limited to 'modules')
-rw-r--r--modules/g2_import/helpers/g2_import_event.php2
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));
}
}