From 44226aa5d6f257aa6f123b57c9fea28dcd3786eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Thu, 11 Feb 2021 12:37:39 +0200 Subject: [PATCH] Fix domain renew erros --- 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 cd17ba5dc..143cfcc99 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -208,7 +208,7 @@ class Epp::Domain < Domain end def add_renew_epp_errors - if renew_blocking_statuses.any? && !renewable? + if renew_blocking_statuses.any? || !renewable? add_epp_error('2304', 'status', renew_blocking_statuses, I18n.t('object_status_prohibits_operation')) end