mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
For the overview report : MDL-14199 "Option to only show / export final grade" fixing a notice warning from the form definition
This commit is contained in:
parent
994fbaabc9
commit
9b617d9210
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class mod_quiz_report_overview_settings extends moodleform {
|
||||||
}
|
}
|
||||||
$mform->addElement('select', 'attemptsmode', get_string('show', 'quiz_overview'), $options);
|
$mform->addElement('select', 'attemptsmode', get_string('show', 'quiz_overview'), $options);
|
||||||
if ($this->_customdata['qmsubselect']){
|
if ($this->_customdata['qmsubselect']){
|
||||||
$mform->addElement('advcheckbox', 'qmfilter', get_string('show', 'quiz_overview'), get_string('optonlygradedattempts', 'quiz_overview'), array(0,1));
|
$mform->addElement('advcheckbox', 'qmfilter', get_string('show', 'quiz_overview'), get_string('optonlygradedattempts', 'quiz_overview'), null, array(0,1));
|
||||||
}
|
}
|
||||||
//-------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------
|
||||||
$mform->addElement('header', 'general', get_string('preferencesuser', 'quiz_overview'));
|
$mform->addElement('header', 'general', get_string('preferencesuser', 'quiz_overview'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue