Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-35991 - fix incorrect returnurl type

good catch, Adrian!
  • Loading branch information...
commit ac7efafb83b50b8c480a8a4a4097c3e7f75cd701 1 parent 0bd4649
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/filesedit.php
View
2  user/filesedit.php
@@ -32,7 +32,7 @@
die();
}
-$returnurl = optional_param('returnurl', '', PARAM_URL);
+$returnurl = optional_param('returnurl', '', PARAM_LOCALURL);
if (empty($returnurl)) {
$returnurl = new moodle_url('/user/filesedit.php');
Please sign in to comment.
Something went wrong with that request. Please try again.