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

FIX: avoid exception if no update data is available

Dieser Commit ist enthalten in:
Robert Barrow 2019-10-26 23:51:44 +01:00
Ursprung b84677ddb6
Commit fd9cc78e58

Datei anzeigen

@ -483,6 +483,8 @@ class CustomWizard::Builder
user_field = pu['user_field'] user_field = pu['user_field']
key = pu['key'] key = pu['key']
return if data[key].blank?
if user_field || custom_field if user_field || custom_field
custom_fields[user_field || custom_field] = data[key] custom_fields[user_field || custom_field] = data[key]
else else