? gmap.patch
Index: gmap.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/gmap/Attic/gmap.module,v
retrieving revision 1.51.2.71
diff -u -p -r1.51.2.71 gmap.module
--- gmap.module	28 Apr 2007 15:58:23 -0000	1.51.2.71
+++ gmap.module	1 May 2007 17:22:34 -0000
@@ -115,7 +115,7 @@ function _gmap_doheader(){
   }
   drupal_add_js($gmap_path. '/js/'.$mm.'_marker.js');
   $mms = variable_get('gmap_markermanager',0);
-  drupal_add_js(drupal_to_js(array('gmap_markermanager'=>$mms[$mm])),'setting');
+  drupal_add_js(drupal_to_js(array('gmap_markermanager'=>$mms)),'setting');
 // @@@
 drupal_add_js($gmap_path.'/js/poly.js');
   drupal_set_html_head('<script src="http://maps.google.com/maps?file=api&amp;v='.GMAP_API_V.'&amp;key='.variable_get('googlemap_api_key', '').'" type="text/javascript"></script>');
