--- field_group.module	Tue May 24 21:40:32 2011
+++ field_group.module	Wed May 25 10:43:07 2011
@@ -537,6 +537,7 @@
       $element += array(
         '#id' => $id,
         '#type' => 'horizontal_tabs',
+        '#title' => check_plain(t($group->label)),
         '#weight' => $group->weight,
         '#theme_wrappers' => array('horizontal_tabs'),
         '#prefix' => '<div class="field-group-' . $group->format_type . '-wrapper ' . $classes . '">',
@@ -899,7 +900,8 @@
   // Add required JavaScript and Stylesheet.
   drupal_add_library('field_group', 'horizontal-tabs');
 
-  $output = '<h2 class="element-invisible">' . t('Horizontal Tabs') . '</h2>';
+  $header = !empty($element['#title']) ? $element['#title'] : t('Horizontal Tabs');
+  $output = '<h2 class="element-invisible">' . $header . '</h2>';
   $output .= '<div class="horizontal-tabs-panes">' . $element['#children'] . '</div>';
 
   return $output;
