summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/location_taxonomy/location_taxonomy.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/location_taxonomy/location_taxonomy.module b/contrib/location_taxonomy/location_taxonomy.module
index c47ab3b..4d3581a 100644
--- a/contrib/location_taxonomy/location_taxonomy.module
+++ b/contrib/location_taxonomy/location_taxonomy.module
@@ -40,7 +40,8 @@ function location_taxonomy_taxonomy($op, $type, $array = NULL) {
}
break;
case 'delete':
- location_save_locations(array(), array('genid' => 'taxonomy:'. $array['tid']));
+ $locations = array();
+ location_save_locations($locations, array('genid' => 'taxonomy:'. $array['tid']));
break;
}
}