Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug with category links on front page

  • Loading branch information...
commit 7ef459ebed850905384776e7375c3e4ff76f26af 1 parent e31309e
martin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/lib.php
View
2  course/lib.php
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.