Skip to content

Commit

Permalink
settings updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasashi committed Sep 22, 2024
1 parent 54a4c39 commit 8715d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wordpress-plugin-template-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 .= '<p class="submit">' . "\n";
$html .= '<input type="hidden" name="tab" value="' . esc_attr( $tab ) . '" />' . "\n";
Expand Down

0 comments on commit 8715d33

Please sign in to comment.