From a569ab7e3349a92a627b6ab8efc16fa2d09a6ce0 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Fri, 6 Dec 2013 18:11:06 +0100 Subject: [PATCH] // Fix tree shop missing attributes --- classes/helper/HelperTreeShops.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }