Fix some CC issues

This commit is contained in:
Karl Erik Õunapuu 2020-05-21 17:36:38 +03:00
parent f25b7a3b7f
commit 5a951dd958

View file

@ -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