]> git.mjollnir.org Git - moodle.git/commitdiff
slightly more informative error message
authorgustav_delius <gustav_delius>
Sun, 19 Mar 2006 11:05:04 +0000 (11:05 +0000)
committergustav_delius <gustav_delius>
Sun, 19 Mar 2006 11:05:04 +0000 (11:05 +0000)
question/questiontypes/randomsamatch/questiontype.php

index f73e729817d977e2d6090cd101f25b7a59a27e2a..c034cc1ea3d43a14c2c0b602f06301cdeafb74eb 100644 (file)
@@ -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;
         }