From: gustav_delius Date: Sun, 19 Mar 2006 11:05:04 +0000 (+0000) Subject: slightly more informative error message X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=570c30aaa01ca92d6b8542b6f2ca8bb6387610cf;p=moodle.git slightly more informative error message --- 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; }