From 8715d33408bb6d55d86b06b1d16f5c0cf0963928 Mon Sep 17 00:00:00 2001 From: "Rafasashi\\Raphael" Date: Sun, 22 Sep 2024 06:52:42 +0200 Subject: [PATCH] settings updated --- includes/class-wordpress-plugin-template-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";