Merged from HEAD (originally by gustav_delius)

course.guest was not loaded from database but used in code.
This commit is contained in:
martinlanghoff
2004-12-07 19:41:55 +00:00
parent 4abde0607d
commit 9c21bcd89b
+1 -1
View File
@@ -1146,7 +1146,7 @@ function print_category_info($category, $depth) {
echo "\n\n<table border=0 cellpadding=3 cellspacing=0 width=\"100%\"><tr>";
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>";