Commit 9511ef187df0bf948903e574412de8c78244bf39
1 parent
a2412cee
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 | 104 | |
| 105 | 105 | $default = $this->selectSeoData(self::H1); | 
| 106 | 106 | |
| 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 { | |
| 107 | + if ($default != $this->{self::H1}) { | |
| 118 | 108 | |
| 119 | 109 | return $default; | 
| 120 | - //} | |
| 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 | + } | |
| 121 | 121 | break; | 
| 122 | 122 | case self::TITLE: | 
| 123 | 123 | ... | ... | 
