$parents[$cat->id] = $parents[$category->id];
$parents[$cat->id][] = $category->id;
}
- make_categories_list($list, &$parents, $cat, $path);
+ make_categories_list($list, $parents, $cat, $path);
}
}
}
/// with or without courses included
if (!$displaylist) {
- make_categories_list(&$displaylist, &$parentslist);
+ make_categories_list($displaylist, $parentslist);
}
if ($category) {
}
-
function print_category_box($category, $depth) {
/// Prints the category box in indented fashion