Fix #431226.
authorBrandon Bergren
Mon, 29 Jun 2009 14:34:54 +0000 (14:34 +0000)
committerBrandon Bergren
Mon, 29 Jun 2009 14:34:54 +0000 (14:34 +0000)
contrib/location_taxonomy/location_taxonomy.module

index c47ab3b..4d3581a 100644 (file)
@@ -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;
     }
   }