Index: trunk/kernel/include/category.php =================================================================== diff -u -r889 -r904 --- trunk/kernel/include/category.php (.../category.php) (revision 889) +++ trunk/kernel/include/category.php (.../category.php) (revision 904) @@ -1444,7 +1444,7 @@ function CountCategories($attribs) { global $objSession; - + $ParentWhere=''; $cat = getArrayValue($attribs,'_catid'); if(!is_numeric($cat)) {