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