]> git.mjollnir.org Git - moodle.git/commitdiff
No manually graded questions found is not an error contidion, so return true, not...
authortjhunt <tjhunt>
Fri, 25 Jul 2008 14:11:22 +0000 (14:11 +0000)
committertjhunt <tjhunt>
Fri, 25 Jul 2008 14:11:22 +0000 (14:11 +0000)
mod/quiz/report/grading/report.php

index 2dbd5264a1d3db6cb705fcc98420717375f1e1cd..047fda4cadf64afe26b666b822b2ec8c21b9c0e7 100644 (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));
         }