diff --git a/index.php b/index.php index 2b4f9bce953..a1d9a607ae4 100644 --- a/index.php +++ b/index.php @@ -224,7 +224,7 @@ } else if ((!has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM)) and !isguest()) or (count_records('course') <= FRONTPAGECOURSELIMIT)) { // admin should not see list of courses when there are too many of them print_heading_block(get_string('availablecourses')); - print_courses(0, true); + print_courses(0); } break;