Skip to content
Permalink
Browse files

MDL-38710 assign: Fix one typo and change one param to PARAM_BOOL

  • Loading branch information...
damyon committed Apr 17, 2013
1 parent 9231cd8 commit 78d9d52a0a3a04345849581588c4deaa1e0af26f
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/assign/feedback/file/importzipform.php
  2. +1 −1 mod/assign/feedback/offline/importgradesform.php
@@ -119,7 +119,7 @@ public function definition() {
$mform->addElement('hidden', 'action', 'viewpluginpage');
$mform->setType('action', PARAM_ALPHA);
$mform->addElement('hidden', 'confirm', 'true');
$mform->setType('confirm', PARAM_INT);
$mform->setType('confirm', PARAM_BOOL);
$mform->addElement('hidden', 'plugin', 'file');
$mform->setTYpe('plugin', PARAM_PLUGIN);
$mform->addElement('hidden', 'pluginsubtype', 'assignfeedback');
@@ -180,7 +180,7 @@ public function definition() {
$mform->addElement('hidden', 'ignoremodified', $ignoremodified);
$mform->setType('ignoremodified', PARAM_BOOL);
$mform->addElement('hidden', 'draftid', $draftid);
$form->setType('draftid', PARAM_INT);
$mform->setType('draftid', PARAM_INT);
if ($update) {
$this->add_action_buttons(true, get_string('confirm'));
} else {

0 comments on commit 78d9d52

Please sign in to comment.
You can’t perform that action at this time.