From b122bf4cd6e303ce4e6cce42c20f3d3ab1834a62 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Mon, 4 Aug 2025 19:39:23 +0800 Subject: [PATCH] fix --- app/controllers/admin/asks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/asks_controller.rb b/app/controllers/admin/asks_controller.rb index 8def278..bb0cbd2 100644 --- a/app/controllers/admin/asks_controller.rb +++ b/app/controllers/admin/asks_controller.rb @@ -413,7 +413,7 @@ class Admin::AsksController < OrbitAdminController @mail_sentdate = DateTime.now site = Site.first - mail_from = site.title_translations[site['default_locale']] + mail_from = site.title_translations[site.default_locale] new_history = email_er.new_history host_url = Site.first.root_url rescue "http://"