fix broken build

This commit is contained in:
Neil Lalonde 2014-09-22 13:23:15 -04:00
parent 0b13f6572f
commit 384d8f25e4

View file

@ -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