Skip to content

Commit 393bf1f

Browse files
dev
1 parent bbb6fee commit 393bf1f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/CmsSeoComponent.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,10 @@ public function bootstrap($application)
568568

569569
$application->view->on(View::EVENT_BEGIN_PAGE, function ($e) {
570570
if ($this->title_append) {
571-
\Yii::$app->view->title = \Yii::$app->view->title.$this->title_append;
571+
if (!BackendComponent::getCurrent()) {
572+
\Yii::$app->view->title = \Yii::$app->view->title.$this->title_append;
573+
}
574+
572575
}
573576
});
574577

0 commit comments

Comments
 (0)