diff --git a/app/service/SearchService.php b/app/service/SearchService.php index 8c201477b..9fced9ddf 100755 --- a/app/service/SearchService.php +++ b/app/service/SearchService.php @@ -186,7 +186,7 @@ class SearchService } else { if(!empty($params['brand_id'])) { - $where_base[] = ['g.brand_id', 'in', intval($params['brand_id'])]; + $where_base[] = ['g.brand_id', 'in', [$params['brand_id']]]; } }