Updated contact ident_type logic

This commit is contained in:
Andres Keskküla 2014-08-15 12:07:38 +03:00
parent 5fa1107e3e
commit 0a4a7f98c2
4 changed files with 7 additions and 2 deletions

View file

@ -112,6 +112,7 @@ module Epp::ContactsHelper
contact_hash[:address_attributes] =
Address.extract_attributes(( @ph.try(:[], :postalInfo).try(:[], :addr) || [] ), type)
end
contact_hash[:ident_type] = ident_type unless ident_type.nil?
contact_hash
end