mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Story#109590460 - typo
This commit is contained in:
parent
38d3459e27
commit
2f10e8d6a4
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class Epp::Contact < Contact
|
|||
|
||||
if ident_frame && ident_attr_valid?(ident_frame)
|
||||
org_priv = %w(org priv).freeze
|
||||
if ident_country_code.blank? && org_priv.include?(ident_type) && org_priv.in?(ident_frame.attr('type'))
|
||||
if ident_country_code.blank? && org_priv.include?(ident_type) && org_priv.include?(ident_frame.attr('type'))
|
||||
at.merge!(ident_country_code: ident_frame.attr('cc'), ident_type: ident_frame.attr('type'))
|
||||
elsif ident_type == "birthday" && ident !=~ /\d{4}-\d{2}-\d{2}/ && (Date.parse(ident) rescue false)
|
||||
at.merge!(ident: ident_frame.text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue