From 040ffc526f26c790c946709ddb8049b2caa7b67c Mon Sep 17 00:00:00 2001 From: Codencode Date: Thu, 21 Mar 2024 13:26:07 +0100 Subject: [PATCH] Update ps_imageslider.php It is also necessary to check the case of creating a new slide (addSlide) --- ps_imageslider.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ps_imageslider.php b/ps_imageslider.php index 3dbbf28..0b03bfa 100644 --- a/ps_imageslider.php +++ b/ps_imageslider.php @@ -615,7 +615,8 @@ public function headerHTML() { if ('AdminModules' !== Tools::getValue('controller') || Tools::getValue('configure') !== $this->name || - Tools::getIsset('id_slide')) { + Tools::getIsset('id_slide') || + Tools::getIsset('addSlide')) { return; }