Commit 7b18ef881e9a191f7377614547d50a82695a57da

Authored by Administrator
1 parent 27918654

14.09.16

Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
frontend/widgets/Seo.php
... ... @@ -301,13 +301,14 @@ class Seo extends Widget
301 301  
302 302  
303 303 protected function checkFilter($filter){
304   - $status = false;
305 304 foreach(self::$optionsList as $optionList){
306 305  
307   - $status = isset($filter[$optionList]) && count($filter[$optionList]) > 1;
  306 + if(isset($filter[$optionList]) && count($filter[$optionList]) > 1){
  307 + return false;
  308 + }
308 309  
309 310 }
310   - return $status;
  311 + return true;
311 312 }
312 313  
313 314 protected function replaceData($str)
... ...