]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug with category links on front page
authormartin <martin>
Thu, 12 Sep 2002 02:42:22 +0000 (02:42 +0000)
committermartin <martin>
Thu, 12 Sep 2002 02:42:22 +0000 (02:42 +0000)
course/lib.php

index b7cf38c04a6e5563bd70fa6a214dd17a40ecd41d..cde060d76e1ad952e759d83a58f263cf4792fcec 100644 (file)
@@ -622,7 +622,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
             }
             foreach ($categories as $category) {
                 print_simple_box_start("LEFT", "100%");
-                print_heading("<A HREF=\"course/index.php?category=my\">$category->name</A>", "LEFT");
+                print_heading("<A HREF=\"course/index.php?category=$category->id\">$category->name</A>", "LEFT");
                 $some = false;
                 echo "<UL>";
                 foreach ($courses as $key => $course) {