From 935e77019829aa75ecf09d54b9191fa6cb2fbe30 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Tue, 11 Dec 2012 00:37:36 +0100 Subject: [PATCH] Fixed error in company category index web page. --- apps/companyfront/modules/category/templates/_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/companyfront/modules/category/templates/_list.php b/apps/companyfront/modules/category/templates/_list.php index 544f335..a54fef0 100644 --- a/apps/companyfront/modules/category/templates/_list.php +++ b/apps/companyfront/modules/category/templates/_list.php @@ -18,7 +18,7 @@ getNode(); - if ($node->isValidNode() && $node->hasParent() && ($node->getParent()->getId() != '1')) + if ($node->isValidNode() && $node->hasParent() && ($node->getParent()->getLevel() != '0')) { echo 'class="child-of-node-'.$node->getParent()->getId().'"'; } -- 2.1.4