[-] MO : Correct sended parameters
(cherry picked from commit 909b2cf7b4aea51bd8c0f2ea1fe5adf3355fec4e) Conflicts: blocktopmenu.php
This commit is contained in:
+1
-1
@@ -685,7 +685,7 @@ class Blocktopmenu extends Module
|
||||
$id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id;
|
||||
$id_shop = ($id_shop !== false) ? $id_shop : Context::getContext()->shop->id;
|
||||
$categories = $this->getCMSCategories(false, (int)$parent, (int)$id_lang, (int)$id_shop);
|
||||
$pages = $this->getCMSPages((int)$parent, false, (int)$id_lang, (int)$id_shop);
|
||||
$pages = $this->getCMSPages((int)$parent, (int)$id_shop, (int)$id_lang);
|
||||
|
||||
$spacer = str_repeat(' ', $this->spacer_size * (int)$depth);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user