Added optional_param and required_param just to get it on the plate

This commit is contained in:
moodler 2004-10-01 12:09:52 +00:00
parent 6446885595
commit e0d346ff91
4 changed files with 112 additions and 35 deletions

View file

@ -4,7 +4,7 @@
include("../config.php");
$enrol = (string)parameter('enrol', $CFG->enrol);
$enrol = optional_param('enrol', $CFG->enrol);
require_login();