correcting pass from reference problem line 84 as identified by syntax report on moodle.org

This commit is contained in:
Pierre Pichet
2009-12-20 13:19:01 +00:00
parent 61b9115ad2
commit ed26d187a7
@@ -81,7 +81,7 @@ class question_dataset_dependent_items_form extends moodleform {
foreach ($this->datasetdefs as $defkey => $datasetdef){
$mform->addElement('text', "number[$j]", get_string('param', 'qtype_datasetdependent', $datasetdef->name));
$mform->setType("number[$j]", PARAM_NUMBER);
$this->qtypeobj->custom_generator_tools_part(&$mform, $idx, $j);
$this->qtypeobj->custom_generator_tools_part($mform, $idx, $j);
$idx++;
$mform->addElement('hidden', "definition[$j]");
$mform->setType("definition[$j]", PARAM_RAW);