mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
No manually graded questions found is not an error contidion, so return true, not false.
This commit is contained in:
parent
3f8e526ec1
commit
92718f4c44
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class quiz_grading_report extends quiz_default_report {
|
||||||
|
|
||||||
if (empty($gradeableqs)) {
|
if (empty($gradeableqs)) {
|
||||||
print_heading(get_string('noessayquestionsfound', 'quiz'));
|
print_heading(get_string('noessayquestionsfound', 'quiz'));
|
||||||
return false;
|
return true;
|
||||||
} else if (count($gradeableqs)==1){
|
} else if (count($gradeableqs)==1){
|
||||||
$questionid = array_shift(array_keys($gradeableqs));
|
$questionid = array_shift(array_keys($gradeableqs));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue