From b8f1dbbf54b5d0abe8b2e4e03c5e472244205473 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 19 Nov 2015 12:27:06 +0200 Subject: [PATCH] Stroy#107699154 disclosed should have array --- app/models/whois_record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/whois_record.rb b/app/models/whois_record.rb index 83af9ee1d..91d46a427 100644 --- a/app/models/whois_record.rb +++ b/app/models/whois_record.rb @@ -48,7 +48,7 @@ class WhoisRecord < ActiveRecord::Base h[:registrant] = domain.registrant.name h[:registrant_email] = domain.registrant.email - @disclosed << domain.registrant.email + @disclosed << [:email, domain.registrant.email] h[:changed] = domain.registrant.updated_at.try(:to_s, :iso8601) h[:admin_contacts] = []