From e49a8d099e08076e8ccc68273ff6df18e984a9ae Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Thu, 6 Apr 2006 12:54:48 +0000 Subject: [PATCH] Supply default values for more arguments of question_list() --- question/editlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/editlib.php b/question/editlib.php index 57aff6c0ca..74f38ca1c0 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -92,8 +92,8 @@ function question_category_form($course, $current, $recurse=1, $showhidden=false * @param int $perpage Number of questions to show per page * @param boolean $showhidden True if also hidden questions should be displayed */ -function question_list($course, $categoryid, $quizid, - $recurse=1, $page, $perpage, $showhidden=false, $sortorder='qtype, name ASC') { +function question_list($course, $categoryid, $quizid=0, + $recurse=1, $page=0, $perpage=100, $showhidden=false, $sortorder='qtype, name ASC') { global $QTYPE_MENU, $USER, $CFG; $strcategory = get_string("category", "quiz"); -- 2.39.5