required_param call - added parameter type;
  set $usehtmleditor variable.
(Bug MDL-7380 "groups".)
This commit is contained in:
nfreear 2006-11-08 11:12:06 +00:00
parent 981af8b8e1
commit 1059371053

View File

@ -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) {
"-> <a href=\"$CFG->wwwroot/user/index.php?id=$courseid\">$strparticipants</a> ".
"-> $strgroups", "", "", true, '', user_login_string($course, $USER));
//TODO: set to false in /course/group.php
$usehtmleditor = false;
require_once('form.html');
print_footer($course);