From 3c3668077918395c3308adce9f1105c948033dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sun, 21 May 2023 17:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=E5=9B=9E=E8=A6=86=E9=8C=AF?= =?UTF-8?q?=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 9a90693..5526ff1 100644 --- a/app/controllers/admin/asks_controller.rb +++ b/app/controllers/admin/asks_controller.rb @@ -408,7 +408,7 @@ class Admin::AsksController < OrbitAdminController @mail_sentdate = DateTime.now site = Site.first - mail_from = site['title'][site['default_locale']] + mail_from = site.title_translations[site['default_locale']] email_er.email.update_attributes( :mail_lang=> site['default_locale'],