Authored by hf

fixes bug to brand list not return brand id

... ... @@ -115,6 +115,10 @@ class IndexController extends AbstractAction
'p_d' => FILTER_DEFAULT,), false);
$condition['brand'] = $brandId;
if ($brandId === 0) {
$condition['query'] = $domain;
}
if (isset($condition['gender'])) {
$condition['gender'] = rawurldecode($condition['gender']);
} else {
... ...