Skip to content
Browse files

correcting pass from reference problem line 77as identified by syntax…

… report on moodle.org
  • Loading branch information...
1 parent 146622e commit e55406d3eb0e9afb1a3a5858f4f80c9578605eaa @ppichet ppichet committed Dec 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/datasetdependent/datasetitems_form.php
View
2 question/type/datasetdependent/datasetitems_form.php
@@ -74,7 +74,7 @@ function definition() {
$j = (($this->noofitems) * count($this->datasetdefs))+1;
foreach ($this->datasetdefs as $defkey => $datasetdef){
$mform->addElement('text', "number[$j]", get_string('param', 'qtype_datasetdependent', $datasetdef->name));
- $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->addElement('hidden', "itemid[$j]");

0 comments on commit e55406d

Please sign in to comment.
Something went wrong with that request. Please try again.