MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect...
[moodle.git] / mod / quiz / report / statistics / report.php
index 6089ac4..1ded44d 100644 (file)
@@ -86,7 +86,7 @@ class quiz_statistics_report extends quiz_default_report {
                     print_error('errordeleting', 'quiz_statistics', '', 'quiz_question_response_stats');
                 }
             }
-            redirect($reporturl->out());
+            redirect($reporturl);
         }