Skip to content

Commit 5e366f2

Browse files
committed
Remove group settings title if no groups are there.
1 parent 1c8dc27 commit 5e366f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/setup_page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ function ( $ele ) {
331331
<?php
332332
// Interest Groups Table
333333
$igs = get_option( 'mc_interest_groups' );
334-
if ( is_array( $igs ) && ! isset( $igs['id'] ) ) {
334+
if ( is_array( $igs ) && ! empty( $igs ) ) {
335335
?>
336336
<div class="mc-section">
337337
<h3 class="mc-h3"><?php esc_html_e( 'Group Settings', 'mailchimp' ); ?></h3>

0 commit comments

Comments
 (0)