From 384d8f25e4b34e6109df98886f81a9a95ecfbc07 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 22 Sep 2014 13:23:15 -0400 Subject: [PATCH] fix broken build --- app/services/user_updater.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/user_updater.rb b/app/services/user_updater.rb index b36309575a2..0203637e8dd 100644 --- a/app/services/user_updater.rb +++ b/app/services/user_updater.rb @@ -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