mirror of
https://github.com/moodle/moodle.git
synced 2025-05-31 21:19:49 +02:00
slightly more informative error message
This commit is contained in:
parent
b2315a929d
commit
570c30aaa0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user