Permalink
Browse files

MDL-26442 restore - missing new in qtype match exception

  • Loading branch information...
1 parent 2b37004 commit 303c04f7d0e0dacf01c161b1c070d28efcb24913 @stronk7 stronk7 committed Feb 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
@@ -115,7 +115,7 @@ public function process_match($data) {
$this->set_mapping('question_match_sub', $oldid, $sub->id);
// Something went really wrong, cannot map subquestion for one match question
} else {
- throw restore_step_exception('error_question_match_sub_missing_in_db', $data);
+ throw new restore_step_exception('error_question_match_sub_missing_in_db', $data);
}
}
}

0 comments on commit 303c04f

Please sign in to comment.