Index: location.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/location/location.module,v
retrieving revision 1.222.2.25
diff -u -r1.222.2.25 location.module
--- location.module	30 Jul 2009 20:58:43 -0000	1.222.2.25
+++ location.module	28 Oct 2009 09:19:18 -0000
@@ -1450,7 +1450,7 @@
   $location = $variables['location'];
   // This will get taken back out if map links are hidden.
   $location['map_link'] = TRUE;
-  foreach($variables['hide'] as $key) {
+  foreach((array)$variables['hide'] as $key) {
     unset($location[$key]);
     // Special case for coords.
     if ($key == 'coords') {

