0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Merge pull request #21 from merefield/juless_extensions

FIX: avoid exception if no update data is available for update profile
Dieser Commit ist enthalten in:
merefield 2019-10-26 23:54:41 +01:00 committet von GitHub
Commit 2c101e61ed
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

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