Commit efa83867c5e784be82255caaf071e4435137627f
1 parent
7b18ef88
14.09.16
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
frontend/widgets/Seo.php
| ... | ... | @@ -267,6 +267,7 @@ class Seo extends Widget |
| 267 | 267 | isset($filter['brands']) && count($filter['brands']) > 1 || isset($filter) && $this->checkFilter($filter) |
| 268 | 268 | |
| 269 | 269 | ) { |
| 270 | + | |
| 270 | 271 | $this->getView()->registerMetaTag([ |
| 271 | 272 | 'name' => 'robots', |
| 272 | 273 | 'content' => 'noindex,nofollow' |
| ... | ... | @@ -304,11 +305,11 @@ class Seo extends Widget |
| 304 | 305 | foreach(self::$optionsList as $optionList){ |
| 305 | 306 | |
| 306 | 307 | if(isset($filter[$optionList]) && count($filter[$optionList]) > 1){ |
| 307 | - return false; | |
| 308 | + return true; | |
| 308 | 309 | } |
| 309 | 310 | |
| 310 | 311 | } |
| 311 | - return true; | |
| 312 | + return false; | |
| 312 | 313 | } |
| 313 | 314 | |
| 314 | 315 | protected function replaceData($str) | ... | ... |