? location_node-fix-notices-402964-1.patch
Index: location_node.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/location/location_node.module,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 location_node.module
--- location_node.module	3 Apr 2009 15:45:05 -0000	1.1.2.5
+++ location_node.module	3 Apr 2009 16:12:57 -0000
@@ -205,15 +205,15 @@ function location_node_form_content_fiel
  */
 function location_node_content_extra_fields($type_name) {
   $settings = variable_get('location_settings_node_'. $type_name, array());
-  if ($settings['multiple']['max'] > 0) {
+  if (isset($settings['multiple']) && $settings['multiple']['max'] > 0) {
     $weight = isset($settings['form']['weight']) ? $settings['form']['weight'] : 0;
     $extra['locations'] = array(
       'label' => t('Locations'),
       'description' => t('Node Locations module form.'),
       'weight' => $weight,
     );
+    return $extra;
   }
-  return $extra;
  }
 
 /**
