Compare View
Commits (3)
-
Conflicts: .htaccess
Showing
2 changed files
Show diff stats
frontend/web/sitemap.xml
frontend/widgets/Seo.php
... | ... | @@ -114,8 +114,10 @@ class Seo extends Widget |
114 | 114 | // if(!empty($filter_row)){ |
115 | 115 | // return $filter_row; |
116 | 116 | // } |
117 | - | |
118 | - if(!empty($filter)) { | |
117 | + if (!empty($title)) { | |
118 | + return $title; | |
119 | + } | |
120 | + else if(!empty($filter)) { | |
119 | 121 | |
120 | 122 | $array = [ |
121 | 123 | 'category' => $this->category_name |
... | ... | @@ -151,9 +153,7 @@ class Seo extends Widget |
151 | 153 | } |
152 | 154 | return $this->getTitleString($array); |
153 | 155 | |
154 | - } else if (!empty($title)) { | |
155 | - return $title; | |
156 | - } else { | |
156 | + } else { | |
157 | 157 | return $this->project_name; |
158 | 158 | } |
159 | 159 | ... | ... |