From 0cd5856fe56c52e6d62ed13fc785773c6aca523a Mon Sep 17 00:00:00 2001 From: gBrunier Date: Fri, 22 Apr 2011 14:19:49 +0000 Subject: [PATCH] [-] FO : Fixed bug #PSCFI-1593 - Path error with CMS subcategory. The $fullPath variable wasn't declared in the right place. --- classes/Tools.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index 5ef6bc51b..3622885dc 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -749,6 +749,8 @@ class ToolsCore if (empty($pipe)) $pipe = '>'; + $fullPath = ''; + if ($categoryType === 'products') { $category = Db::getInstance()->getRow(' @@ -766,7 +768,6 @@ class ToolsCore ORDER BY c.level_depth ASC LIMIT '.(int)$category['level_depth']); - $fullPath = ''; $n = 1; $nCategories = (int)sizeof($categories); foreach ($categories AS $category)