Browse apps: Include sub-categories when filtering by category

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-04-05 16:01:11 +02:00
parent 460af69ae5
commit 7cbc67f1f5
4 changed files with 88 additions and 16 deletions

View File

@@ -137,7 +137,7 @@ class Category {
/* Get a category's subcategory objects. Names are indented according
to subcategory level */
function getSubCatList($iLevel)
function getSubCatList($iLevel = 0)
{
$aOut = array();
$iId = $this->iCatId ? $this->iCatId : 0;