Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-20931 fixed input validation

  • Loading branch information...
commit 9eed2dc7da449e4db8b1e7b4c0456a15e817dab1 1 parent 847f077
Petr Skoda skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/import/groups/index.php
2  course/import/groups/index.php
View
@@ -50,7 +50,7 @@
require_once($CFG->dirroot.'/lib/uploadlib.php');
$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'];
//Fix mac/dos newlines
Please sign in to comment.
Something went wrong with that request. Please try again.