Skip to content
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 09de5eb commit ec0fef3294ec8db9050c845906d1dbbc4e794ae5 @rwijaya rwijaya committed Feb 11, 2013
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');
}

0 comments on commit ec0fef3

Please sign in to comment.
Something went wrong with that request. Please try again.