Skip to content

Commit

Permalink
ENH Use updated FormField::validate() signature
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 26, 2024
1 parent 1efd15c commit f8ef223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AddToCampaignValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function php($data)

// Check field validation
foreach ($fields as $field) {
$valid = ($field->validate($this) && $valid);
$valid = $field->validate()->isValid() && $valid;
}
if (!$valid) {
return $valid;
Expand Down

0 comments on commit f8ef223

Please sign in to comment.