Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  report/courseoverview/index.php
2  report/courseoverview/index.php
@@ -33,7 +33,7 @@
33 33
34 34 if (empty($CFG->enablestats)) {
35 35 if (has_capability('moodle/site:config', context_system::instance())) {
36   - redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
  36 + redirect("$CFG->wwwroot/$CFG->admin/search.php?query=enablestats", get_string('mustenablestats', 'admin'), 3);
37 37 } else {
38 38 print_error('statsdisable');
39 39 }

0 comments on commit 2975c34

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