From 8d1289b1eb422b022a56c95392667fce906f5e77 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Wed, 6 Aug 2025 11:15:15 +0200 Subject: [PATCH] fix: avoid $currentIndex --- ps_mainmenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps_mainmenu.php b/ps_mainmenu.php index db89d8b..a0d80b1 100644 --- a/ps_mainmenu.php +++ b/ps_mainmenu.php @@ -1432,7 +1432,7 @@ public function renderList() $helper->module = $this; $helper->title = $this->trans('Link list', [], 'Modules.Mainmenu.Admin'); $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex . '&configure=' . $this->name; + $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', true) . '&configure=' . $this->name; return $helper->generateList($links, $fields_list); }