mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@ require_once($CFG->libdir.'/uploadlib.php');
|
||||||
|
|
||||||
$error = false;
|
$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
|
// Get the course information so we can print the header and check the course id
|
||||||
// is valid
|
// is valid
|
||||||
|
@ -53,6 +53,9 @@ if (!$error) {
|
||||||
"-> <a href=\"$CFG->wwwroot/user/index.php?id=$courseid\">$strparticipants</a> ".
|
"-> <a href=\"$CFG->wwwroot/user/index.php?id=$courseid\">$strparticipants</a> ".
|
||||||
"-> $strgroups", "", "", true, '', user_login_string($course, $USER));
|
"-> $strgroups", "", "", true, '', user_login_string($course, $USER));
|
||||||
|
|
||||||
|
//TODO: set to false in /course/group.php
|
||||||
|
$usehtmleditor = false;
|
||||||
|
|
||||||
require_once('form.html');
|
require_once('form.html');
|
||||||
|
|
||||||
print_footer($course);
|
print_footer($course);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue