mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -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])
|
||||
end
|
||||
|
||||
if fields = attributes[:custom_fields] && fields.present?
|
||||
fields = attributes[:custom_fields]
|
||||
if fields.present?
|
||||
user.custom_fields = fields
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue