diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 83cf33a..8c81f0d 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -301,13 +301,14 @@ class Seo extends Widget protected function checkFilter($filter){ - $status = false; foreach(self::$optionsList as $optionList){ - $status = isset($filter[$optionList]) && count($filter[$optionList]) > 1; + if(isset($filter[$optionList]) && count($filter[$optionList]) > 1){ + return false; + } } - return $status; + return true; } protected function replaceData($str) -- libgit2 0.21.4