Permalink
Browse files

MDL-35336 Report (course overview): fixed redirect url to enable stat…

…istics setting page when statistics is disable
  • Loading branch information...
1 parent bbcf8da commit 39239e299b533a854dfb6df055e17e4e899bdeaf Rossiani Wijaya committed Feb 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 report/courseoverview/index.php
@@ -33,7 +33,7 @@
if (empty($CFG->enablestats)) {
if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
- redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
+ redirect("$CFG->wwwroot/$CFG->admin/search.php?query=enablestats", get_string('mustenablestats', 'admin'), 3);
} else {
print_error('statsdisable');
}

0 comments on commit 39239e2

Please sign in to comment.