Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…istics setting page when statistics is disable
  • Loading branch information...
commit 2975c3429ecb15541d989ab65b92d1e63a74182f 1 parent 1dd6835
@rwijaya rwijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  report/courseoverview/index.php
View
2  report/courseoverview/index.php
@@ -33,7 +33,7 @@
if (empty($CFG->enablestats)) {
if (has_capability('moodle/site:config', context_system::instance())) {
- 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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.