Commit 5d386a76ddd3408f230c376481aad8e830d7ef37

Authored by Alex Savenko
1 parent 11ffb77e

seo h1 fix

Showing 1 changed file with 12 additions and 12 deletions   Show diff stats
frontend/widgets/Seo.php
@@ -104,20 +104,20 @@ class Seo extends Widget @@ -104,20 +104,20 @@ class Seo extends Widget
104 104
105 $default = $this->selectSeoData(self::H1); 105 $default = $this->selectSeoData(self::H1);
106 106
107 - if ($default != $this->{self::H1}) { 107 +// if ($default != $this->{self::H1}) {
  108 +//
  109 +// return $default;
  110 +//
  111 +//
  112 +// } else if(!empty($filter) && !$this->checkFilter($filter)){
  113 +//
  114 +// $array = $this->arrayBuilder($filter);
  115 +// return $this->getNameString($array);
  116 +// }
  117 +// else {
108 118
109 return $default; 119 return $default;
110 -  
111 -  
112 - } else if(!empty($filter) && !$this->checkFilter($filter)){  
113 -  
114 - $array = $this->arrayBuilder($filter);  
115 - return $this->getNameString($array);  
116 - }  
117 - else {  
118 -  
119 - return $default;  
120 - } 120 + //}
121 break; 121 break;
122 case self::TITLE: 122 case self::TITLE:
123 123