fix default menu

This commit is contained in:
Rodney Figaro 2017-06-07 12:31:42 +02:00
parent e4d60371af
commit 049dd002aa

View File

@ -25,7 +25,7 @@ class CategoryController extends CategoryControllerCore
}
if ($this->category->level_depth == self::MENU_SECOND_LEVEL || $id_category_level_2 != -1) {
$id_category_level_3 = Category::getDefaultSubCategory($this->category->id);
$id_category_level_3 = Category::getDefaultSubCategory($this->category->id, true);
}
if ($id_category_level_2 != -1 || $id_category_level_3 != -1) {