From 06ba75fee02c8bee5af4c0113fed7f0480065e28 Mon Sep 17 00:00:00 2001 From: Sacha FROMENT Date: Thu, 2 Jul 2015 12:18:22 +0200 Subject: [PATCH] [-] MO : Correct sended parameters (cherry picked from commit 909b2cf7b4aea51bd8c0f2ea1fe5adf3355fec4e) Conflicts: blocktopmenu.php --- blocktopmenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocktopmenu.php b/blocktopmenu.php index 649ee15..aa384a4 100644 --- a/blocktopmenu.php +++ b/blocktopmenu.php @@ -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);