mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Only print expanded course listing on the first page (ie short category)
This commit is contained in:
parent
8e7f0d621c
commit
c3235459d0
@ -219,7 +219,7 @@
|
||||
if (!$courses) {
|
||||
print_heading(get_string("nocoursesyet"));
|
||||
|
||||
} else if ($numcourses <= COURSE_MAX_SUMMARIES_PER_PAGE and !$creatorediting) {
|
||||
} else if ($numcourses <= COURSE_MAX_SUMMARIES_PER_PAGE and !$page and !$creatorediting) {
|
||||
print_courses($category, "80%");
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user