diff --git a/lib/builder.rb b/lib/builder.rb index 669ad233..c3b88280 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -178,7 +178,7 @@ class CustomWizard::Builder value = data[f['value']] key = f['key'] - if key.include?('custom_fields') + if key && key.include?('custom_fields') keyArr = key.split('.') if keyArr.length === 3