Fixed type in category.php

This commit is contained in:
fiedorow
2004-04-05 16:07:59 +00:00
parent 9180d5cead
commit d442864213
+1 -1
View File
@@ -205,7 +205,7 @@
/// Print out all the sub-categories
if ($subcategories = get_records("course_categories", "parent", $category->id), "sortorder ASC") {
if ($subcategories = get_records("course_categories", "parent", $category->id, "sortorder ASC")) {
$firstentry = true;
foreach ($subcategories as $subcategory) {
if ($subcategory->visible or iscreator()) {