We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b946b99 commit e6888d1Copy full SHA for e6888d1
mail/layouts/html.php
@@ -3,14 +3,15 @@
3
4
/**
5
* @var \yii\web\View $this
6
- * @var \yii\mail\BaseMessage $content
+ * @var \yii\mail\MessageInterface $message
7
+ * @var string $content
8
*/
9
?>
10
<?php $this->beginPage() ?>
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
12
<html xmlns="http://www.w3.org/1999/xhtml">
13
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" />
14
+ <meta http-equiv="Content-Type" content="text/html; charset=<?= $message->getCharset() ?>" />
15
<title><?= Html::encode($this->title) ?></title>
16
<?php $this->head() ?>
17
</head>
0 commit comments