Hi in function label_help_theme_form_element_label

-  if (isset($variables['element']['#theme_options']['description at top'])) {
+  if (isset($variables['element']['#theme_options']['description at top']) && 
+    !empty($variables['element']['#theme_options']['description at top'])) {

would allow to avoid outputting the empty markup

Comments

sheldon rampton’s picture

Status: Needs review » Closed (fixed)

Thanks. I've committed this change.