? location_microformat_vcard.patch ? new_ubuntu.patch Index: location.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/location/location.inc,v retrieving revision 1.34.2.8 diff -u -F^f -r1.34.2.8 location.inc --- location.inc 20 Oct 2006 21:41:59 -0000 1.34.2.8 +++ location.inc 22 Nov 2006 19:47:25 -0000 @@ -62,7 +62,7 @@ function location_get_postalcode_data($l $location['country'] = isset($location['country']) ? trim($location['country']) : NULL; $location['postal_code'] = isset($location['postal_code']) ? trim($location['postal_code']) : NULL; if (is_null($location['postal_code']) || is_null($location['country']) || empty($location['country']) || empty($location['postal_code']) || $location['postal_code'] == 'xx') { - return NULL; + return NULL; } $country_specific_function = 'location_get_postalcode_data_'. $location['country']; if (function_exists($country_specific_function)) { @@ -105,55 +105,58 @@ function theme_location($location = arra if (_location_nothing_to_show($location, $hide)) { return ''; } + $output = ''; $country_specific_function = 'theme_location_'. (isset($location['country']) ? $location['country'] : ''); if (function_exists($country_specific_function)) { - $output .= $country_specific_function($location); + $output .= $country_specific_function($location, $hide); } elseif (count($location)) { $output .= "\n"; - $output .= '