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

This commit is contained in:
Matteo Scaramuccia
2013-03-28 22:12:53 +01:00
parent d8201d49d8
commit 0f7d527816
+1
View File
@@ -36,6 +36,7 @@ class user_files_form extends moodleform {
$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'));