diff --git a/includes/class-wordpress-plugin-template-settings.php b/includes/class-wordpress-plugin-template-settings.php index c04e46c..f4200ec 100644 --- a/includes/class-wordpress-plugin-template-settings.php +++ b/includes/class-wordpress-plugin-template-settings.php @@ -447,7 +447,7 @@ public function settings_page() { do_settings_sections( $this->parent->_token . '_settings' ); $html .= ob_get_clean(); - if( $this->settings[$tab]['fields'] ){ + if( !empty($this->settings[$tab]['fields']) ){ $html .= '

' . "\n"; $html .= '' . "\n";