mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-47700 Grades: Fix incorrect config for overview report showrank
This commit is contained in:
parent
d0fabf1193
commit
180acd64e9
@ -256,7 +256,7 @@ function grade_report_overview_settings_definition(&$mform) {
|
||||
0 => get_string('hide'),
|
||||
1 => get_string('show'));
|
||||
|
||||
if (empty($CFG->grade_overviewreport_showrank)) {
|
||||
if (empty($CFG->grade_report_overview_showrank)) {
|
||||
$options[-1] = get_string('defaultprev', 'grades', $options[0]);
|
||||
} else {
|
||||
$options[-1] = get_string('defaultprev', 'grades', $options[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user