]> git.mjollnir.org Git - moodle.git/commitdiff
course.guest was not loaded from database but used in code.
authorgustav_delius <gustav_delius>
Tue, 7 Dec 2004 07:27:02 +0000 (07:27 +0000)
committergustav_delius <gustav_delius>
Tue, 7 Dec 2004 07:27:02 +0000 (07:27 +0000)
course/lib.php

index d66b92397d776be7bdd56bd1114cf7e762e4dc3f..705fa0aa3bc78f416797c46300b34c53615b0254 100644 (file)
@@ -1227,7 +1227,7 @@ function print_category_info($category, $depth) {
     echo "\n\n".'<table border="0" cellpadding="3" cellspacing="0" width="100%">';
 
     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>";