From 303c04f7d0e0dacf01c161b1c070d28efcb24913 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Mon, 21 Feb 2011 02:01:03 +0100 Subject: [PATCH] MDL-26442 restore - missing new in qtype match exception --- .../match/backup/moodle2/restore_qtype_match_plugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php b/question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php index 21e287016f3..eaf35397396 100644 --- a/question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php +++ b/question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php @@ -115,7 +115,7 @@ class restore_qtype_match_plugin extends restore_qtype_plugin { $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); } } } -- 2.43.0