From 8c19a52f41c22d31f9970541325ce9b74169b24d Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 19 Jun 2017 15:36:03 +0300 Subject: [PATCH] Hotfix for #512 --- app/controllers/epp_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 96c2348f2..4a0a0d9d0 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -138,6 +138,7 @@ class EppController < ApplicationController if params[:parsed_frame].at_css('update') @errors.each_with_index do |errors, index| if errors[:code] == '2304' && + errors[:value].present? && errors[:value][:val] == DomainStatus::SERVER_DELETE_PROHIBITED && errors[:value][:obj] == 'status' @errors[index][:value][:val] = DomainStatus::PENDING_UPDATE