Commit 906f0fd5786703fc91c67427fc773d131f4e486c
1 parent
b905419d
big commti
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/widgets/Seo.php
@@ -153,8 +153,7 @@ class Seo extends Widget | @@ -153,8 +153,7 @@ class Seo extends Widget | ||
153 | $title = $this->selectSeoData(self::TITLE); | 153 | $title = $this->selectSeoData(self::TITLE); |
154 | 154 | ||
155 | 155 | ||
156 | -// if(!empty($filter) && isset($this->fields['meta-title']) && $title == $this->fields['meta-title']) { | ||
157 | - if(!empty($filter)) { | 156 | + if(!empty($filter) && isset($this->fields['meta-title']) && $title == $this->fields['meta-title']) { |
158 | $array = $this->arrayBuilder($filter); | 157 | $array = $this->arrayBuilder($filter); |
159 | 158 | ||
160 | $title_string = $this->getTitleString($array); | 159 | $title_string = $this->getTitleString($array); |
@@ -320,6 +319,7 @@ class Seo extends Widget | @@ -320,6 +319,7 @@ class Seo extends Widget | ||
320 | } else if (!empty($this->$param)) { | 319 | } else if (!empty($this->$param)) { |
321 | 320 | ||
322 | $result = $this->$param; | 321 | $result = $this->$param; |
322 | + | ||
323 | } else { | 323 | } else { |
324 | 324 | ||
325 | $widgetData = $this->findSeoByDynamic(); | 325 | $widgetData = $this->findSeoByDynamic(); |