From ecbf29146a8b843d319bd2f78909b9ff0f8bf565 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 15 Dec 2016 14:08:21 +0200 Subject: [PATCH] seo h1 fix --- frontend/widgets/Seo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index ba4f08d..0faa8e2 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -102,7 +102,7 @@ class Seo extends Widget $filter = \Yii::$app->request->get('filters', []); - $default = $this->selectSeoData(self::H1, $priority); + $default = $this->selectSeoData(self::H1); if (($default != $this->{self::H1}) || $priority == 1) { @@ -334,7 +334,7 @@ class Seo extends Widget } } - protected function selectSeoData($param, &$priority) + protected function selectSeoData($param) { $result = ''; -- libgit2 0.21.4