diff --git a/widgets/Seo.php b/widgets/Seo.php index 7d67be0..db8e18f 100755 --- a/widgets/Seo.php +++ b/widgets/Seo.php @@ -393,7 +393,7 @@ class Seo extends Widget if (isset($filter['brands']) && count($filter['brands']) == 1) { - $model = Brand::find()->joinWith('lang')->where(['lang.alias' => $filter['brands'][0]])->one(); + $model = Brand::find()->joinWith('lang')->where(['alias' => $filter['brands'][0]])->one(); if (!$model instanceof Brand) { \Yii::$app->response->redirect(['/site/error'], 404); -- libgit2 0.21.4