mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixed a notice
This commit is contained in:
parent
f4af29c5a4
commit
5ed3bf228a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user