Skip to content

Commit 06b96e5

Browse files
committed
Removes redundant check
1 parent 3619ac5 commit 06b96e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailchimp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ function mailchimp_sf_change_list_if_necessary() {
638638
return;
639639
}
640640

641-
if ( isset( $_POST['mc_list_id'] ) && empty( $_POST['mc_list_id'] ) ) {
641+
if ( empty( $_POST['mc_list_id'] ) ) {
642642
$msg = '<p class="error_msg">' . esc_html__( 'Please choose a valid list', 'mailchimp' ) . '</p>';
643643
mailchimp_sf_global_msg( $msg );
644644
return;

0 commit comments

Comments
 (0)