From 6dd60ce445ab57c80d724cc0b7a09099b202d573 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 19 Oct 2009 13:42:58 +0000 Subject: [PATCH] MDL-20591 ims cc import: fix two calls by reference ; merged from 19_STABLE --- backup/cc/entity.quiz.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5