Skip to content

Commit

Permalink
MDL-47700 Grades: Fix incorrect config for overview report showrank
Browse files Browse the repository at this point in the history
  • Loading branch information
John Okely committed Nov 13, 2014
1 parent 74acdec commit b69fd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/overview/lib.php
Expand Up @@ -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]);
Expand Down

0 comments on commit b69fd9d

Please sign in to comment.