MDL-35991 - fix incorrect returnurl type
good catch, Adrian!
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ if (isguestuser()) {
|
||||
die();
|
||||
}
|
||||
|
||||
$returnurl = optional_param('returnurl', '', PARAM_URL);
|
||||
$returnurl = optional_param('returnurl', '', PARAM_LOCALURL);
|
||||
|
||||
if (empty($returnurl)) {
|
||||
$returnurl = new moodle_url('/user/filesedit.php');
|
||||
|
||||
Reference in New Issue
Block a user