v1.18.x
barisusakli 10 years ago
parent 99bacf910c
commit 0767998022

@ -140,6 +140,9 @@ function filterAndRenderCategories(req, res, next, active) {
}
categoryData = categoryData.filter(function (category) {
if (!category) {
return false;
}
return active ? !category.disabled : category.disabled;
});

Loading…
Cancel
Save