mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
fix broken build
This commit is contained in:
parent
0b13f6572f
commit
384d8f25e4
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ class UserUpdater
|
||||||
user_profile.send("#{attribute}=", attributes[attribute])
|
user_profile.send("#{attribute}=", attributes[attribute])
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields = attributes[:custom_fields] && fields.present?
|
fields = attributes[:custom_fields]
|
||||||
|
if fields.present?
|
||||||
user.custom_fields = fields
|
user.custom_fields = fields
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue