From: stronk7 Date: Mon, 19 Oct 2009 13:42:58 +0000 (+0000) Subject: MDL-20591 ims cc import: fix two calls by reference ; merged from 19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6dd60ce445ab57c80d724cc0b7a09099b202d573;p=moodle.git MDL-20591 ims cc import: fix two calls by reference ; merged from 19_STABLE --- diff --git a/backup/cc/entity.quiz.class.php b/backup/cc/entity.quiz.class.php index ee0edf06c8..c5a7bb1322 100755 --- a/backup/cc/entity.quiz.class.php +++ b/backup/cc/entity.quiz.class.php @@ -671,9 +671,9 @@ class quiz extends entities { $answer_identifier = !empty($answer_identifier->item(0)->nodeValue) ? $answer_identifier->item(0)->nodeValue : ''; if ($question_cc_type == CC_QUIZ_FIB) { - $answers = $this->get_answers_fib ($identifier, $answer_identifier, $assessment, &$last_answer_id); + $answers = $this->get_answers_fib ($identifier, $answer_identifier, $assessment, $last_answer_id); } else { - $answers = $this->get_answers_pattern_match ($identifier, $answer_identifier, $assessment, &$last_answer_id); + $answers = $this->get_answers_pattern_match ($identifier, $answer_identifier, $assessment, $last_answer_id); } } else {