Skip to content

Commit b120701

Browse files
Revert conditional for $success
1 parent 298e494 commit b120701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/forms/class-form-listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function process_unsubscribe_form( MC4WP_Form $form ) {
149149
*/
150150
public function respond( MC4WP_Form $form ) {
151151

152-
$success = $form->has_errors();
152+
$success = ! $form->has_errors();
153153

154154
if( $success ) {
155155

0 commit comments

Comments
 (0)