]> git.mjollnir.org Git - moodle.git/commitdiff
Only print expanded course listing on the first page (ie short category)
authormoodler <moodler>
Tue, 7 Oct 2003 03:29:44 +0000 (03:29 +0000)
committermoodler <moodler>
Tue, 7 Oct 2003 03:29:44 +0000 (03:29 +0000)
course/category.php

index ea0d6636889f837f77d4f6b486c51582fd4e777a..1851ad9190b420376d93022e303f1e2bfd4b6253 100644 (file)
     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 {