diff --git a/Block/Adminhtml/Slider/Edit/Tab/Renderer/Snippet.php b/Block/Adminhtml/Slider/Edit/Tab/Renderer/Snippet.php index 5baf2a8..581ef73 100644 --- a/Block/Adminhtml/Slider/Edit/Tab/Renderer/Snippet.php +++ b/Block/Adminhtml/Slider/Edit/Tab/Renderer/Snippet.php @@ -34,7 +34,7 @@ class Snippet extends AbstractElement */ public function getElementHtml() { - $sliderId = '1'; + $sliderId = $this->getSliderId() ?? 1; $html = '