]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed type in category.php
authorfiedorow <fiedorow>
Mon, 5 Apr 2004 16:07:59 +0000 (16:07 +0000)
committerfiedorow <fiedorow>
Mon, 5 Apr 2004 16:07:59 +0000 (16:07 +0000)
course/category.php

index d33ee5f93728560208cd9b8a928c5d6b4ee45c97..6db4ff8b2a82a49ac6cffb3c49583db05a5db81d 100644 (file)
 
 /// 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()) {