Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-12421 rounding merging from head a little correction line 77

  • Loading branch information...
commit c59a69dab8769662130a575c369246cb413ab0bc 1 parent 7ff4e15
pichetp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/type/datasetdependent/datasetitems_form.php
View
2  question/type/datasetdependent/datasetitems_form.php
@@ -129,7 +129,7 @@ function definition() {
$mform->addElement('header', '', get_string('itemno', 'qtype_datasetdependent', $i));
foreach ($this->datasetdefs as $defkey => $datasetdef){
$mform->addElement('text', "number[$j]", get_string('param', 'qtype_datasetdependent', $datasetdef->name));
-
+ $mform->setType("number[$j]", PARAM_NUMBER);
$mform->addElement('hidden', "itemid[$j]");
$mform->setType("itemid[$j]", PARAM_INT);
Please sign in to comment.
Something went wrong with that request. Please try again.