diff --git a/widgets/Seo.php b/widgets/Seo.php index 2e74584..bcb5484 100755 --- a/widgets/Seo.php +++ b/widgets/Seo.php @@ -175,8 +175,6 @@ class Seo extends Widget $sort = \Yii::$app->request->get('sort', []); $paginate = \Yii::$app->request->get('page', []); - - if (!empty($meta) && empty($sort) && empty($paginate) && !isset($filter['prices']) ) { $this->getView()->registerMetaTag([ @@ -299,12 +297,14 @@ class Seo extends Widget $result = $widgetData->$param; + }else if(!empty($this->$param)) { + + $result = $this->$param; + } else if ($widgetDynamicData instanceof SeoDynamic) { $result = $widgetDynamicData->lang->$param; - } else if(!empty($this->$param)) { - $result = $this->$param; } return $this->replaceData($result); -- libgit2 0.21.4