1
0
Fork 0

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('.')