From ed4fa36b43451f1366154eb7e956673951540652 Mon Sep 17 00:00:00 2001 From: KoKsPfLaNzE Date: Tue, 17 Oct 2017 00:36:45 +0200 Subject: [PATCH] fix Ps_MenuTopLinks::update call, 6 parameter given, but signature has 5 params --- ps_mainmenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps_mainmenu.php b/ps_mainmenu.php index 316f9be..0bd43c4 100644 --- a/ps_mainmenu.php +++ b/ps_mainmenu.php @@ -275,7 +275,7 @@ class Ps_MainMenu extends Module implements WidgetInterface $label[$lang['id_lang']] = Tools::getValue('label_'.(int)$lang['id_lang']); } - Ps_MenuTopLinks::update($link, $label, $new_window, (int)$id_shop, (int)$id_linksmenutop, (int)$id_linksmenutop); + Ps_MenuTopLinks::update($link, $label, $new_window, (int)$id_shop, (int)$id_linksmenutop); $this->_html .= $this->displayConfirmation($this->trans('The link has been edited.', array(), 'Modules.Mainmenu.Admin')); } $update_cache = true;