View Single Post
  #1 (permalink)  
Old 08-24-2008, 09:13 PM
cmstheme's Avatar
cmstheme cmstheme is offline
Donor
 
Join Date: Jan 2007
Location: Philippines
Posts: 528
Description: A fix to get the correct total number of subcategories in each parent category.
Pligg Version Affected: Beta 9.8.2, 9.9.0 and 9.9.5

Open /libs/dbtree.php, go to LINE 170 and find:
PHP Code:
if($cat->category_parent == $catid && $cat->category__auto_id <> && $cat->category_lang == $dblang
Replace the above code with:
PHP Code:
if($cat->category_parent == $catid && $cat->category__auto_id <> 0
Reply With Quote