From: moodler Date: Tue, 7 Oct 2003 03:29:44 +0000 (+0000) Subject: Only print expanded course listing on the first page (ie short category) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c3235459d0a686b1f6a4e47c46844f0ec02289a0;p=moodle.git Only print expanded course listing on the first page (ie short category) --- 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 {