diff --git a/app/models/depp/contact.rb b/app/models/depp/contact.rb index 710fff9f7..33b7545b7 100644 --- a/app/models/depp/contact.rb +++ b/app/models/depp/contact.rb @@ -172,9 +172,9 @@ module Depp end def update_attributes(params) - self.ident_country_code ||= params[:ident_country_code] - self.ident_type ||= params[:ident_type] - self.ident ||= params[:ident] + self.ident_country_code = params[:ident_country_code] + self.ident_type = params[:ident_type] + self.ident = params[:ident] self.name = params[:name] self.email = params[:email]