slightly more informative error message

This commit is contained in:
gustav_delius 2006-03-19 11:05:04 +00:00
parent b2315a929d
commit 570c30aaa0

View 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;
}