0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

Better check of value

Dieser Commit ist enthalten in:
Angus McLeod 2018-06-05 12:54:05 +10:00
Ursprung 9343b63945
Commit 2dc7ada433

Datei anzeigen

@ -258,7 +258,7 @@ class CustomWizard::Builder
value = field['value_custom'] ? field['value_custom'] : data[field['value']] value = field['value_custom'] ? field['value_custom'] : data[field['value']]
key = field['key'] key = field['key']
if key && value != nil if key && (value.present? || value === false)
if key.include?('custom_fields') if key.include?('custom_fields')
keyArr = key.split('.') keyArr = key.split('.')