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