// fix thumbnail sub categories
This commit is contained in:
+1
-1
@@ -617,7 +617,7 @@ class Blocktopmenu extends Module
|
|||||||
$html .= '<ul>';
|
$html .= '<ul>';
|
||||||
$html .= $this->generateCategoriesMenu($category['children'], 1);
|
$html .= $this->generateCategoriesMenu($category['children'], 1);
|
||||||
|
|
||||||
if ((int)$category['level_depth'] > 1)
|
if ((int)$category['level_depth'] > 1 && !$is_children)
|
||||||
{
|
{
|
||||||
$files = scandir(_PS_CAT_IMG_DIR_);
|
$files = scandir(_PS_CAT_IMG_DIR_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user