MDL-39140 mod_folder: Fix missing call to setType()

This commit is contained in:
Stephen Bourget
2013-04-15 17:59:25 -04:00
parent b3661ab272
commit 01b3704f1b
+1
View File
@@ -36,6 +36,7 @@ class mod_folder_edit_form extends moodleform {
$options = $this->_customdata['options'];
$mform->addElement('hidden', 'id', $data->id);
$mform->setType('id', PARAM_INT);
$mform->addElement('filemanager', 'files_filemanager', get_string('files'), null, $options);
$submit_string = get_string('savechanges');
$this->add_action_buttons(true, $submit_string);