Commit 7b81b40bfc52a132075ffb2b685c691078fd41f5

Authored by Administrator
1 parent 8cfcee73

big commti

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
frontend/widgets/Seo.php
... ... @@ -106,14 +106,16 @@ class Seo extends Widget
106 106 $default = $this->selectSeoData(self::H1);
107 107  
108 108 if ($default != $this->{self::H1}) {
  109 +
109 110 return $default;
110 111  
111 112  
112   - } else if($this->checkFilter($filter)){
  113 + } else if(!$this->checkFilter($filter)){
113 114 $array = $this->arrayBuilder($filter);
114 115 return $this->getNameString($array);
115 116 }
116 117 else {
  118 +
117 119 return $default;
118 120 }
119 121 break;
... ... @@ -196,7 +198,7 @@ class Seo extends Widget
196 198  
197 199 } else if (
198 200 isset($filter['brands']) && count($filter['brands']) > 1
199   - || isset($filter) && !$this->checkFilter($filter)
  201 + || isset($filter) && $this->checkFilter($filter)
200 202  
201 203 ) {
202 204  
... ...