Skip to content

Commit

Permalink
Merge branch '32-ignored_checklists'
Browse files Browse the repository at this point in the history
  • Loading branch information
nliautaud committed Apr 17, 2018
2 parents 4b77132 + 0be8be5 commit 7a02e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p01-contact/src/P01contact_Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function post()
continue;
$posted_val = $posted[$field->id];
$field->setValue($posted_val);
$hasFieldsErrors = $field->validate() && $hasFieldsErrors;
$hasFieldsErrors = !$field->validate() || $hasFieldsErrors;
}

// check errors and set status
Expand Down

0 comments on commit 7a02e6e

Please sign in to comment.