mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-14317, fix parameter type, see tracker, thanks Stephen, merged from MOODLE_19_STABLE
This commit is contained in:
parent
1dfbf846f8
commit
8f7ca0030e
@ -14,7 +14,7 @@ $id = optional_param('id', 0, PARAM_INT); // course module id
|
||||
$d = optional_param('d', 0, PARAM_INT); // database activity id
|
||||
$action = optional_param('action', 'base', PARAM_ALPHANUM); // current action
|
||||
$fullname = optional_param('fullname', '', PARAM_PATH); // directory the preset is in
|
||||
$file = optional_param('file', '', PARAM_FILE); // uploaded file
|
||||
$file = optional_param('file', '', PARAM_PATH); // uploaded file
|
||||
|
||||
// find out preset owner userid and shortname
|
||||
$parts = explode('/', $fullname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user