From 8fb8830dd013429e0ae38a03c626858af482ac98 Mon Sep 17 00:00:00 2001 From: dinsmol Date: Wed, 21 Jul 2021 09:49:37 +0300 Subject: [PATCH] rolled back model changes --- app/models/depp/contact.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]