feat: use normalized checkbox values in field handlers
This commit is contained in:
1 parent
6abfa122e4
commit
40c0042158
6 files changed
+69
-4
No files matched your search
@@ -334,7 +334,7 @@ class ParticipantInsuranceFieldHandler extends AbstractParticipantFieldHandler
|
||||
|
||||
// Check if bulk insurance booking is enabled
|
||||
$bulkInsuranceBooking = $applicantData['bulkInsuranceBooking'] ?? false;
|
||||
if (false === (bool) $bulkInsuranceBooking) {
|
||||
if (false === $this->normalizeCheckboxValue($bulkInsuranceBooking)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user