Skip to content

Commit

Permalink
MDL-20931 fixed input validation
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 22, 2009
1 parent 847f077 commit 9eed2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/import/groups/index.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


require_once($CFG->dirroot.'/lib/uploadlib.php'); require_once($CFG->dirroot.'/lib/uploadlib.php');
$um = new upload_manager('userfile',false,false,null,false,0); $um = new upload_manager('userfile',false,false,null,false,0);
if ($um->preprocess_files()) { if ($um->preprocess_files() and confirm_sesskey()) {
$filename = $um->files['userfile']['tmp_name']; $filename = $um->files['userfile']['tmp_name'];


//Fix mac/dos newlines //Fix mac/dos newlines
Expand Down

0 comments on commit 9eed2dc

Please sign in to comment.