Commit a6a110863c806bb45361affd064f0c4004b0126b
1 parent
09348f4c
select characteristic
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
widgets/Seo.php
... | ... | @@ -102,8 +102,7 @@ class Seo extends Widget |
102 | 102 | $filter = \Yii::$app->request->get('filters', []); |
103 | 103 | |
104 | 104 | $default = $this->selectSeoData(self::H1, $filter,$priority); |
105 | - | |
106 | - if ($default != $this->{self::H1}) { | |
105 | + if ($default != $this->{self::H1} && $priority != 3) { | |
107 | 106 | |
108 | 107 | return $this->prepareString($default); |
109 | 108 | |
... | ... | @@ -113,7 +112,6 @@ class Seo extends Widget |
113 | 112 | return $this->prepareString($this->getNameString($array,$default)); |
114 | 113 | } |
115 | 114 | else { |
116 | - | |
117 | 115 | return $this->prepareString($default); |
118 | 116 | } |
119 | 117 | break; | ... | ... |