From: fiedorow Date: Mon, 5 Apr 2004 16:07:59 +0000 (+0000) Subject: Fixed type in category.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d44286421389b18dfa4414e8a2f1b1fa8a607e17;p=moodle.git Fixed type in category.php --- diff --git a/course/category.php b/course/category.php index d33ee5f937..6db4ff8b2a 100644 --- a/course/category.php +++ b/course/category.php @@ -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()) {