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:
Commit
2c101e61ed
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren