From ab3b957d0747cd9a364c482970f5e02bbd55f65e Mon Sep 17 00:00:00 2001 From: dinsmol Date: Tue, 7 Dec 2021 09:54:50 +0300 Subject: [PATCH] Fix error --- app/controllers/admin/domains_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/domains_controller.rb b/app/controllers/admin/domains_controller.rb index c912d713a..b5ef428dd 100644 --- a/app/controllers/admin/domains_controller.rb +++ b/app/controllers/admin/domains_controller.rb @@ -41,7 +41,7 @@ module Admin end def update - rollback_history = @domain.json_statuses_history['admin_store_statuses_history'] + rollback_history = @domain.json_statuses_history&.[]('admin_store_statuses_history') dp = ignore_empty_statuses @domain.is_admin = true @domain.admin_status_update dp[:statuses]