Index: gmap_location.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/gmap/gmap_location.module,v retrieving revision 1.26.2.14 diff -u -r1.26.2.14 gmap_location.module --- gmap_location.module 12 Feb 2007 21:30:04 -0000 1.26.2.14 +++ gmap_location.module 21 Feb 2007 16:08:37 -0000 @@ -350,10 +350,10 @@ $ntypes=node_get_types(); foreach ($ntypes as $key => $value) { - if (variable_get('location_'. $key, 0)) { + if (intval(variable_get('location_maxnum_'. $key, 0)) !== 0) { $form['node']['gmap_node_marker_'.$key]=array( '#type' => 'gmap_markerchooser', - '#title' => t('Marker for '.$value), + '#title' => t('Marker for '.$value->name), '#default_value' => variable_get('gmap_node_marker_'.$key, ''), ); }