From 9fe3be1b017b05a05ae2f5ed64b7a750d48c772f Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Tue, 19 Sep 2006 06:36:54 +0000 Subject: [PATCH] fixed a bug where wrong parameters is passed --- user/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/index.php b/user/index.php index 903de4cb48..29f07b172f 100644 --- a/user/index.php +++ b/user/index.php @@ -19,8 +19,8 @@ $search = optional_param('search','',PARAM_CLEAN); $roleid = optional_param('roleid', 0, PARAM_INT); // optional roleid - $contextid = optional_param('contextid', PARAM_INT); // one of this or - $courseid = optional_param('id', PARAM_INT); // this are required + $contextid = optional_param('contextid', 0, PARAM_INT); // one of this or + $courseid = optional_param('id', 0, PARAM_INT); // this are required $showteachers = $showteachers && empty($search); // if we're searching, we just want students. -- 2.39.5