Merge branch 'MDL-65250' of git://github.com/stronk7/moodle
[moodle.git] / mod / scorm / report / objectives / classes / report.php
index c8f889a..3f4f99c 100644 (file)
@@ -642,7 +642,7 @@ class report extends \mod_scorm\report {
             }
             // Show preferences form irrespective of attempts are there to report or not.
             if (!$download) {
-                $mform->set_data(compact('detailedrep', 'pagesize', 'attemptsmode'));
+                $mform->set_data(compact('pagesize', 'attemptsmode'));
                 $mform->display();
             }
             if ($download == 'Excel' or $download == 'ODS') {