mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Fix domain renew erros
This commit is contained in:
parent
a03ac4ff82
commit
44226aa5d6
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class Epp::Domain < Domain
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_renew_epp_errors
|
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,
|
add_epp_error('2304', 'status', renew_blocking_statuses,
|
||||||
I18n.t('object_status_prohibits_operation'))
|
I18n.t('object_status_prohibits_operation'))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue