Only print expanded course listing on the first page (ie short category)

This commit is contained in:
moodler 2003-10-07 03:29:44 +00:00
parent 8e7f0d621c
commit c3235459d0

View File

@ -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 {