mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Fixes:
required_param call - added parameter type; set $usehtmleditor variable. (Bug MDL-7380 "groups".)
This commit is contained in:
parent
981af8b8e1
commit
1059371053
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user