MDL-35163 quiz Make quiz report options available to attempts form
[moodle.git] / mod / quiz / report / attemptsreport_table.php
index f119da0..4b57900 100644 (file)
@@ -518,7 +518,7 @@ abstract class quiz_attempts_report_table extends table_sql {
             return;
         }
 
             return;
         }
 
-        $url = new moodle_url($this->reporturl, $this->displayoptions);
+        $url = $this->options->get_url();
         $url->param('sesskey', sesskey());
 
         echo '<div id="tablecontainer">';
         $url->param('sesskey', sesskey());
 
         echo '<div id="tablecontainer">';