Permalink
Browse files

MDL-38741 qtype_calculatesimple: missing setType call

  • Loading branch information...
danpoltawski committed Apr 4, 2013
1 parent dfd89b0 commit ce5bb3a91263302f48f8a6d5fd34b364b4113634
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/type/calculatedsimple/edit_calculatedsimple_form.php
@@ -292,6 +292,7 @@ protected function definition_inner($mform) {
$label = get_string("sharedwildcards", "qtype_calculated");
$mform->addElement('hidden', 'synchronize', 0);
$mform->addElement('hidden', 'initialcategory', 1);
$mform->setType('synchronize', PARAM_BOOL);
$mform->setType('initialcategory', PARAM_INT);
$mform->addElement('hidden', 'reload', 1);
$mform->setType('reload', PARAM_INT);

0 comments on commit ce5bb3a

Please sign in to comment.