fix

parent bc031c8b
......@@ -137,7 +137,7 @@ class PostController extends BaseController
if($model->validate())
{
Yii::$app->mailer->compose(['html' => '@common/modules/blog/mail/messageBlog-html', 'text' => '@common/modules/blog/mail/messageBlog-text'], ['model' => $model])
->setFrom([Settings::getValue('bids-support-email-from') => 'Блог на task-on.com'])
->setFrom([Settings::getValue('bids-support-email-from') => 'Блог Task-On'])
->setTo(Settings::getValue('article-email'))
->setSubject("Блог. ".($model->form == 'theme'?"Предложить тему":"Статья"))
->send();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment