From 5a951dd958e2d66705ef3eabe7e1087ad1d34ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Thu, 21 May 2020 17:36:38 +0300 Subject: [PATCH] Fix some CC issues --- 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 e7ab6a249..c50203dd9 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -477,7 +477,7 @@ class Epp::Domain < Domain same_registrant_as_current = true # registrant block may not be present, so we need this to rule out false positives - unless frame.css('registrant').text.blank? + if frame.css('registrant').text.present? same_registrant_as_current = (registrant.code == frame.css('registrant').text) end