From a59e31bbe2583af83b5b78d96cb058c214c682ce Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 29 Jul 2016 17:42:45 +0300 Subject: [PATCH] 20.07.16 --- frontend/views/articles/show.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views/articles/show.php b/frontend/views/articles/show.php index 86d1464..e58b53c 100755 --- a/frontend/views/articles/show.php +++ b/frontend/views/articles/show.php @@ -6,7 +6,7 @@ use yii\widgets\Breadcrumbs; title = $news->meta_title; -$this->params['seo']['title'] = !empty($this->title) ?$this->title : ''; +$this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title; $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]); ?> -- libgit2 0.21.4