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

Also pass custom_fields to the UserUpdater

Dieser Commit ist enthalten in:
Angus McLeod 2018-05-25 10:43:46 +10:00
Ursprung bf15927c8e
Commit a5a18666ad

Datei anzeigen

@ -347,8 +347,7 @@ class CustomWizard::Builder
end end
if custom_fields.present? if custom_fields.present?
custom_fields.each { |k, v| user.custom_fields[k] = v } attributes[:custom_fields] = custom_fields
user.save_custom_fields(true)
end end
if attributes.present? if attributes.present?