From 1059371053aab429204090e84cbc7375687cdf8a Mon Sep 17 00:00:00 2001 From: nfreear Date: Wed, 8 Nov 2006 11:12:06 +0000 Subject: [PATCH] Fixes: required_param call - added parameter type; set $usehtmleditor variable. (Bug MDL-7380 "groups".) --- group/groupui/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/group/groupui/index.php b/group/groupui/index.php index b6047f5891..4761d5591e 100644 --- a/group/groupui/index.php +++ b/group/groupui/index.php @@ -15,7 +15,7 @@ require_once($CFG->libdir.'/uploadlib.php'); $error = false; -$courseid = required_param('id'); +$courseid = required_param('id', PARAM_INTEGER); // Get the course information so we can print the header and check the course id // is valid @@ -53,6 +53,9 @@ if (!$error) { "-> wwwroot/user/index.php?id=$courseid\">$strparticipants ". "-> $strgroups", "", "", true, '', user_login_string($course, $USER)); + //TODO: set to false in /course/group.php + $usehtmleditor = false; + require_once('form.html'); print_footer($course); -- 2.39.5