Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-20931 fixed input validation

  • Loading branch information...
commit 9eed2dc7da449e4db8b1e7b4c0456a15e817dab1 1 parent 847f077
Petr Skoda skodak authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  course/import/groups/index.php
2  course/import/groups/index.php
@@ -50,7 +50,7 @@
50 50
51 51 require_once($CFG->dirroot.'/lib/uploadlib.php');
52 52 $um = new upload_manager('userfile',false,false,null,false,0);
53   - if ($um->preprocess_files()) {
  53 + if ($um->preprocess_files() and confirm_sesskey()) {
54 54 $filename = $um->files['userfile']['tmp_name'];
55 55
56 56 //Fix mac/dos newlines

0 comments on commit 9eed2dc

Please sign in to comment.
Something went wrong with that request. Please try again.