Skip to content

Commit

Permalink
Update ps_imageslider.php
Browse files Browse the repository at this point in the history
It is also necessary to check the case of creating a new slide (addSlide)
  • Loading branch information
Codencode committed Mar 21, 2024
1 parent 6baeac7 commit 040ffc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ps_imageslider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 040ffc5

Please sign in to comment.