Skip to content

Commit

Permalink
Merged from HEAD (originally by gustav_delius)
Browse files Browse the repository at this point in the history
course.guest was not loaded from database but used in code.
  • Loading branch information
martinlanghoff committed Dec 7, 2004
1 parent 4abde06 commit 9c21bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/lib.php
Expand Up @@ -1146,7 +1146,7 @@ function print_category_info($category, $depth) {
echo "\n\n<table border=0 cellpadding=3 cellspacing=0 width=\"100%\"><tr>"; echo "\n\n<table border=0 cellpadding=3 cellspacing=0 width=\"100%\"><tr>";


if ($CFG->frontpage == FRONTPAGECOURSELIST) { if ($CFG->frontpage == FRONTPAGECOURSELIST) {
$courses = get_courses($category->id, 'c.sortorder ASC', 'c.id,c.sortorder,c.visible,c.fullname,c.shortname,c.password,c.summary'); $courses = get_courses($category->id, 'c.sortorder ASC', 'c.id,c.sortorder,c.visible,c.fullname,c.shortname,c.password,c.summary,c.guest');


echo "<tr>"; echo "<tr>";


Expand Down

0 comments on commit 9c21bcd

Please sign in to comment.