No manually graded questions found is not an error contidion, so return true, not false.

This commit is contained in:
tjhunt 2008-07-25 14:11:22 +00:00
parent 3f8e526ec1
commit 92718f4c44

View file

@ -76,7 +76,7 @@ class quiz_grading_report extends quiz_default_report {
if (empty($gradeableqs)) {
print_heading(get_string('noessayquestionsfound', 'quiz'));
return false;
return true;
} else if (count($gradeableqs)==1){
$questionid = array_shift(array_keys($gradeableqs));
}