Permalink
Browse files

MDL-35991 - fix incorrect returnurl type

good catch, Adrian!
  • Loading branch information...
danpoltawski committed Jan 10, 2013
1 parent 0bd4649 commit ac7efafb83b50b8c480a8a4a4097c3e7f75cd701
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/filesedit.php
View
@@ -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');

0 comments on commit ac7efaf

Please sign in to comment.