Permalink
Browse files

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

  • Loading branch information...
1 parent b3661ab commit 01b3704f1b17725907942fb085aa2d5411432d6d @sbourget sbourget committed Apr 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/folder/edit_form.php
View
@@ -36,6 +36,7 @@ function definition() {
$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);

0 comments on commit 01b3704

Please sign in to comment.