Permalink
Browse files

MDL-38790 Repositories: missing call to setType in 'My private files'…

… form
  • Loading branch information...
1 parent d8201d4 commit 0f7d5278162adb91e775b2bb33eae5a4a633354d @scara scara committed Mar 28, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 user/files_form.php
View
@@ -36,6 +36,7 @@ function definition() {
$mform->addElement('filemanager', 'files_filemanager', get_string('files'), null, $options);
$mform->addElement('hidden', 'returnurl', $data->returnurl);
+ $mform->setType('returnurl', PARAM_LOCALURL);
$this->add_action_buttons(true, get_string('savechanges'));

0 comments on commit 0f7d527

Please sign in to comment.