MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect...
[moodle.git] / mod / quiz / report / overview / report.php
index 810aba5..f5dfe2f 100644 (file)
@@ -171,7 +171,7 @@ class quiz_overview_report extends quiz_default_report {
             $this->regrade_all_needed($quiz, $groupstudents);
         }
         if ($regradeall || $regradealldry || $regradealldrydo){
             $this->regrade_all_needed($quiz, $groupstudents);
         }
         if ($regradeall || $regradealldry || $regradealldrydo){
-            redirect($reporturl->out(false, $displayoptions), '', 5);
+            redirect($reporturl->out(false, $displayoptions, false), '', 5);
         }
         
         if ($groupmode = groups_get_activity_groupmode($cm)) {   // Groups are being used
         }
         
         if ($groupmode = groups_get_activity_groupmode($cm)) {   // Groups are being used