[-] FO : Fixed bug #PSCFI-1593 - Path error with CMS subcategory. The $fullPath variable wasn't declared in the right place.

This commit is contained in:
gBrunier committed 2011-04-22 14:19:49 +00:00
1 parent 3467c2662d
commit 0cd5856fe5
1 file changed
+2 -1
+2 -1
View File
@@ -749,6 +749,8 @@ class ToolsCore
if (empty($pipe)) if (empty($pipe))
$pipe = '>'; $pipe = '>';
$fullPath = '';
if ($categoryType === 'products') if ($categoryType === 'products')
{ {
$category = Db::getInstance()->getRow(' $category = Db::getInstance()->getRow('
@@ -766,7 +768,6 @@ class ToolsCore
ORDER BY c.level_depth ASC ORDER BY c.level_depth ASC
LIMIT '.(int)$category['level_depth']); LIMIT '.(int)$category['level_depth']);
$fullPath = '';
$n = 1; $n = 1;
$nCategories = (int)sizeof($categories); $nCategories = (int)sizeof($categories);
foreach ($categories AS $category) foreach ($categories AS $category)