Commit ecbf29146a8b843d319bd2f78909b9ff0f8bf565
1 parent
de5a3910
seo h1 fix
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/widgets/Seo.php
| ... | ... | @@ -102,7 +102,7 @@ class Seo extends Widget |
| 102 | 102 | |
| 103 | 103 | $filter = \Yii::$app->request->get('filters', []); |
| 104 | 104 | |
| 105 | - $default = $this->selectSeoData(self::H1, $priority); | |
| 105 | + $default = $this->selectSeoData(self::H1); | |
| 106 | 106 | |
| 107 | 107 | if (($default != $this->{self::H1}) || $priority == 1) { |
| 108 | 108 | |
| ... | ... | @@ -334,7 +334,7 @@ class Seo extends Widget |
| 334 | 334 | } |
| 335 | 335 | } |
| 336 | 336 | |
| 337 | - protected function selectSeoData($param, &$priority) | |
| 337 | + protected function selectSeoData($param) | |
| 338 | 338 | { |
| 339 | 339 | $result = ''; |
| 340 | 340 | ... | ... |