Skip to content

Commit

Permalink
fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
nlalonde committed Sep 22, 2014
1 parent 0b13f65 commit 384d8f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/services/user_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def update(attributes = {})
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

Expand Down

0 comments on commit 384d8f2

Please sign in to comment.