Permalink
Browse files

Fixed bug with category links on front page

  • Loading branch information...
1 parent e31309e commit 7ef459ebed850905384776e7375c3e4ff76f26af martin committed Sep 12, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -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) {

0 comments on commit 7ef459e

Please sign in to comment.