diff --git a/ps_mainmenu.php b/ps_mainmenu.php index db89d8b..bbf3327 100644 --- a/ps_mainmenu.php +++ b/ps_mainmenu.php @@ -1432,7 +1432,7 @@ class Ps_MainMenu extends Module implements WidgetInterface $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', false) . '&configure=' . $this->name . '&tab_module=' . $this->tab . '&module_name=' . $this->name; return $helper->generateList($links, $fields_list); }