From c65c920078980c80652ee697c52c3ba9f1416455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Bilo=C3=A9?= Date: Thu, 1 Sep 2016 14:28:33 +0200 Subject: [PATCH] CO: Register hook on install --- ps_mainmenu.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ps_mainmenu.php b/ps_mainmenu.php index d8d7157..1d4aa8b 100644 --- a/ps_mainmenu.php +++ b/ps_mainmenu.php @@ -86,7 +86,8 @@ class Ps_MainMenu extends Module implements WidgetInterface !$this->registerHook('actionObjectProductDeleteAfter') || !$this->registerHook('actionObjectProductAddAfter') || !$this->registerHook('categoryUpdate') || - !$this->registerHook('actionShopDataDuplication')) { + !$this->registerHook('actionShopDataDuplication') || + !$this->registerHook('displayTop')) { return false; }