diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 8fe9c88..ba4f08d 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -58,6 +58,7 @@ class Seo extends Widget } + $priority = 0; switch ($this->row) { case self::SEO_TEXT: @@ -101,7 +102,6 @@ class Seo extends Widget $filter = \Yii::$app->request->get('filters', []); - $priority = 0; $default = $this->selectSeoData(self::H1, $priority); if (($default != $this->{self::H1}) || $priority == 1) { -- libgit2 0.21.4