From c3235459d0a686b1f6a4e47c46844f0ec02289a0 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 7 Oct 2003 03:29:44 +0000 Subject: [PATCH] Only print expanded course listing on the first page (ie short category) --- course/category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/category.php b/course/category.php index ea0d663688..1851ad9190 100644 --- a/course/category.php +++ b/course/category.php @@ -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 { -- 2.39.5