MDL-47700 Grades: Fix incorrect config for overview report showrank
This commit is contained in:
@@ -249,7 +249,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]);
|
||||
|
||||
Reference in New Issue
Block a user