mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Added missing optional_param()
This commit is contained in:
parent
07bc47e0e5
commit
4c71d8b215
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@
|
|||
$name = optional_param('name', '', PARAM_FILE);
|
||||
$oldname = optional_param('oldname', '', PARAM_FILE);
|
||||
$choose = optional_param('choose', '', PARAM_CLEAN);
|
||||
|
||||
$userfile= optional_param('userfile','',PARAM_FILE);
|
||||
$save = optional_param( 'save','' );
|
||||
|
||||
if ($choose) {
|
||||
if (count(explode('.', $choose)) != 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue