From 7b18ef881e9a191f7377614547d50a82695a57da Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 26 Sep 2016 19:24:51 +0300 Subject: [PATCH] 14.09.16 --- frontend/widgets/Seo.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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