Skip to content

Commit

Permalink
fix: php lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo committed Nov 1, 2024
1 parent f34334f commit bb82561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ public function validate( $result, $preferred_error = null ) {
throw new Exception( esc_html__( 'A Mailchimp error has occurred.', 'newspack-newsletters' ) );
}
}
if ( ! empty( $result['status'] ) && (int) $result['status'] >= 400 ) {
if ( ! empty( $result['status'] ) && (int) $result['status'] >= 400 ) {
if ( $preferred_error && ! Newspack_Newsletters::debug_mode() ) {
if ( ! empty( $result['detail'] ) ) {
$preferred_error .= ' ' . $result['detail'];
Expand Down

0 comments on commit bb82561

Please sign in to comment.