修復回覆錯誤

This commit is contained in:
邱博亞 2023-05-21 17:10:12 +08:00
parent 102a4f49cc
commit 3c36680779
1 changed files with 1 additions and 1 deletions

View File

@ -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'],