From 5ed3bf228af07188f18940cc4e1852eb1744a4d7 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 16 Sep 2006 12:58:50 +0000 Subject: [PATCH] Fixed a notice --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index 4ddd688f62..561e282595 100644 --- a/course/lib.php +++ b/course/lib.php @@ -356,7 +356,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per if ($course->id == SITEID) { $courses[0] = ''; - if ($ccc = get_courses('all', 'c.id ASC', 'c.id,c.shortname')) { + if ($ccc = get_courses('all', 'c.id ASC', 'c.id,c.shortname,c.visible')) { foreach ($ccc as $cc) { $courses[$cc->id] = $cc->shortname; } -- 2.39.5