diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php index c303eddc5..30faf9bc9 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php @@ -280,16 +280,11 @@ class AdvsController extends PublicController if ($categoryId) { -// if ($hierarchy = $categoryId->getMains()) { -// dd(123); -// } - $mainCats = $this->category_model->getMains($categoryId->id); $current_cat = $this->category_model->getCat($categoryId->id); $mainCats[] = $current_cat; $subCats = $this->category_repository->getSubCatById($categoryId->id); $allCats = false; -// dd($mainCats); } else { $mainCats = $this->category_repository->mainCats(); $allCats = true;