Commit 906f0fd5786703fc91c67427fc773d131f4e486c

Authored by Administrator
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 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 157 $array = $this->arrayBuilder($filter);
159 158  
160 159 $title_string = $this->getTitleString($array);
... ... @@ -320,6 +319,7 @@ class Seo extends Widget
320 319 } else if (!empty($this->$param)) {
321 320  
322 321 $result = $this->$param;
  322 +
323 323 } else {
324 324  
325 325 $widgetData = $this->findSeoByDynamic();
... ...