hotfix for catalog display of empty brand/model
This commit is contained in:
parent
b338760dad
commit
5754f8257d
@ -59,8 +59,8 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
|
||||
$pages_url = $arParams['PATH'];
|
||||
|
||||
$arResult['BRAND_DISABLED'] = true;
|
||||
$arResult['MODEL_DISABLED'] = true;
|
||||
$arResult['BRAND_DISABLED'] = false;
|
||||
$arResult['MODEL_DISABLED'] = false;
|
||||
$arResult['EXTENDED'] = false;
|
||||
$arResult['BY_OPTIONS'] = false;
|
||||
$arResult['FILTER_SMALL'] = $arParams['FILTER_SMALL'] ? true : false;
|
||||
@ -99,6 +99,8 @@ if($this->StartResultCache(60*60*24, md5(var_export($_POST, true))))
|
||||
}
|
||||
else
|
||||
{
|
||||
$arResult['BRAND_DISABLED'] = true;
|
||||
$arResult['MODEL_DISABLED'] = true;
|
||||
$arResult['SHOW_MODELS_LIST'] = false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user