From 3a16b9eada78244e53847bf4781fb73bfd1b2ec7 Mon Sep 17 00:00:00 2001 From: Matt Farnsworth Date: Thu, 29 Oct 2015 13:09:20 +0200 Subject: [PATCH] Story: #104525314 - fix: do not ask registrant verification when there were errors and nothing is done --- app/models/epp/domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 77c49206b..aca56f4e0 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -460,7 +460,7 @@ class Epp::Domain < Domain # at[:statuses] += at_add[:domain_statuses_attributes] - if verify && + if errors.empty? && verify && Setting.request_confrimation_on_registrant_change_enabled && frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'