Remove notices

This commit is contained in:
champsupertramp
2016-03-06 11:54:08 +08:00
parent 91a44630cf
commit 01d8f4f67e
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -2426,8 +2426,12 @@ class UM_Fields {
if ( $borderradius ) $css_heading_borderradius = 'border-radius: ' . $borderradius . ' ' . $borderradius . ' 0px 0px;';
$output .= '<div class="um-row-heading" style="' . $css_heading_background_color . $css_heading_padding . $css_heading_text_color . $css_heading_borderradius . '">';
if ( isset($icon) ) $output .= '<span class="um-row-heading-icon"><i class="' . $icon . '"></i></span>';
$output .= $heading_text .'</div>';
if ( isset( $icon ) ) {
$output .= '<span class="um-row-heading-icon"><i class="' . $icon . '"></i></span>';
}
$output .= ( ! empty( $heading_text ) ? $heading_text: '') .'</div>';
} else {