From: moodler Date: Tue, 5 Sep 2006 06:11:48 +0000 (+0000) Subject: Use the new config variable as a default for paging X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2244c22d72034353a5ae5339ae2c6cf2817af59e;p=moodle.git Use the new config variable as a default for paging --- diff --git a/course/category.php b/course/category.php index e9708c043f..6298381e94 100644 --- a/course/category.php +++ b/course/category.php @@ -8,7 +8,7 @@ $id = required_param('id', PARAM_INT); // Category id $page = optional_param('page', 0, PARAM_INT); // which page to show - $perpage = optional_param('perpage', 20, PARAM_INT); // how many per page + $perpage = optional_param('perpage', $CFG->coursesperpage, PARAM_INT); // how many per page $categoryedit = optional_param('categoryedit', -1, PARAM_BOOL); $hide = optional_param('hide', 0, PARAM_INT); $show = optional_param('show', 0, PARAM_INT);