From 38c9ffa1caa5d2ef1a5ad3b080ad71e974958c52 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 2 Oct 2024 15:23:45 +1300 Subject: [PATCH] NEW Validate DBFields --- src/AddToCampaignValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddToCampaignValidator.php b/src/AddToCampaignValidator.php index d75b04d0..7d99e6e4 100644 --- a/src/AddToCampaignValidator.php +++ b/src/AddToCampaignValidator.php @@ -21,7 +21,7 @@ public function php($data) // Check field validation foreach ($fields as $field) { - $valid = ($field->validate($this) && $valid); + $valid = ($field->validateWithFormValidator($this) && $valid); } if (!$valid) { return $valid;