From 2862dd81d1cded8d45d8cfcc1b9ad3326ad422ff Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 1 Feb 2019 13:55:55 +0200 Subject: [PATCH] Fix variable name --- app/views/epp/domains/info/registered_domain.xml.builder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/epp/domains/info/registered_domain.xml.builder b/app/views/epp/domains/info/registered_domain.xml.builder index eb1234934..5424b73d4 100644 --- a/app/views/epp/domains/info/registered_domain.xml.builder +++ b/app/views/epp/domains/info/registered_domain.xml.builder @@ -45,9 +45,9 @@ xml.epp_head do xml.tag!('domain:crDate', @domain.created_at.try(:iso8601)) if @domain.updated_at > @domain.created_at - upID = @domain.updator.try(:registrar) - upID = upID.code if upID.present? - xml.tag!('domain:upID', upID) if upID.present? + updator = @domain.updator.try(:registrar) + updator = updator.code if updator.present? + xml.tag!('domain:upID', updator) if updator.present? xml.tag!('domain:upDate', @domain.updated_at.try(:iso8601)) end