From 570c30aaa01ca92d6b8542b6f2ca8bb6387610cf Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 19 Mar 2006 11:05:04 +0000 Subject: [PATCH] slightly more informative error message --- question/questiontypes/randomsamatch/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/questiontypes/randomsamatch/questiontype.php b/question/questiontypes/randomsamatch/questiontype.php index f73e729817..c034cc1ea3 100644 --- a/question/questiontypes/randomsamatch/questiontype.php +++ b/question/questiontypes/randomsamatch/questiontype.php @@ -17,7 +17,7 @@ class question_randomsamatch_qtype extends question_match_qtype { function get_question_options(&$question) { if (!$question->options = get_record('question_randomsamatch', 'question', $question->id)) { - notify('Error: Missing question options!'); + notify('Error: Missing question options for random short answer question '.$question->id.'!'); return false; } -- 2.39.5