0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

boolean cast fix

Dieser Commit ist enthalten in:
Angus McLeod 2018-06-19 09:56:45 +10:00
Ursprung 4830766649
Commit 0dab4f4964

Datei anzeigen

@ -216,7 +216,7 @@ class CustomWizard::Builder
## ensure all checkboxes are booleans
if field['type'] === 'checkbox'
updater.fields[field['id']] = value == true
updater.fields[field['id']] = value == 'true'
end
end