diff --git a/classes/helper/HelperTreeShops.php b/classes/helper/HelperTreeShops.php index 652bf89be..9c3071ccd 100644 --- a/classes/helper/HelperTreeShops.php +++ b/classes/helper/HelperTreeShops.php @@ -156,7 +156,7 @@ class HelperTreeShopsCore extends TreeCore $html .= $this->getContext()->smarty->createTemplate( $this->getTemplateFile($this->getNodeFolderTemplate()), $this->getContext()->smarty - )->assign(array( + )->assign($this->getAttributes())->assign(array( 'children' => $this->renderNodes($item['shops']), 'node' => $item ))->fetch(); @@ -164,7 +164,7 @@ class HelperTreeShopsCore extends TreeCore $html .= $this->getContext()->smarty->createTemplate( $this->getTemplateFile($this->getNodeItemTemplate()), $this->getContext()->smarty - )->assign(array( + )->assign($this->getAttributes())->assign(array( 'node' => $item ))->fetch(); }