Skip to content

Commit

Permalink
MDL-20591 ims cc import: fix two calls by reference ; merged from 19_…
Browse files Browse the repository at this point in the history
…STABLE
  • Loading branch information
stronk7 committed Oct 19, 2009
1 parent b5c6b61 commit 6dd60ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/cc/entity.quiz.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,9 @@ private function get_answers ($identifier, $assessment, &$last_answer_id) {
$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 {
Expand Down

0 comments on commit 6dd60ce

Please sign in to comment.