mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Added optional_param and required_param just to get it on the plate
This commit is contained in:
parent
6446885595
commit
e0d346ff91
4 changed files with 112 additions and 35 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
include("../config.php");
|
||||
|
||||
$enrol = (string)parameter('enrol', $CFG->enrol);
|
||||
$enrol = optional_param('enrol', $CFG->enrol);
|
||||
|
||||
require_login();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue