mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +08:00
refactored exceptions.
I18N WIP.
This commit is contained in:
@@ -50,7 +50,7 @@ class EmailTarget extends Target
|
||||
$body .= $this->formatMessage($message);
|
||||
}
|
||||
$body = wordwrap($body, 70);
|
||||
$subject = $this->subject === null ? \Yii::t('yii', 'Application Log') : $this->subject;
|
||||
$subject = $this->subject === null ? \Yii::t('yii:Application Log') : $this->subject;
|
||||
foreach ($this->emails as $email) {
|
||||
$this->sendEmail($subject, $body, $email, $this->sentFrom, $this->headers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user