Index: footermap.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/footermap/footermap.module,v
retrieving revision 1.11.2.29
diff -u -p -r1.11.2.29 footermap.module
--- footermap.module    5 Aug 2010 03:38:57 -0000       1.11.2.29
+++ footermap.module    5 Aug 2010 03:41:21 -0000
@@ -201,6 +201,7 @@ function _footermap_render()
 {
   $recurse = variable_get('recurse_limit', 0);
   $base = variable_get('top_menu', 0);
+  $menus = menu_get_menus(TRUE);
   $mapref = array();
   $disp_heading = variable_get('footermap_heading', 0);
   $o = '';
@@ -210,7 +211,7 @@ function _footermap_render()
   $n = 0;
   foreach ($mapref as $key => $block)
   {
-    $heading = ($disp_heading == 1) ? $key : '';
+    $heading = ($disp_heading == 1) ? $menus[$key] : '';
     $o .= '<div class="footermap-col" id="footermap-col-'.$n.' footermap-col-'.$key.'">';
     if ($heading <> '')
       $o .= '<h3>'.$heading.'</h3>';

