mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed bug with category links on front page
This commit is contained in:
parent
e31309ed79
commit
7ef459ebed
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
|
||||||
}
|
}
|
||||||
foreach ($categories as $category) {
|
foreach ($categories as $category) {
|
||||||
print_simple_box_start("LEFT", "100%");
|
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;
|
$some = false;
|
||||||
echo "<UL>";
|
echo "<UL>";
|
||||||
foreach ($courses as $key => $course) {
|
foreach ($courses as $key => $course) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue