Skip to content
Browse files

Merge remote-tracking branch 'skodak/w03_MDL-31011_m22_loglinks' into…

… MOODLE_22_STABLE
  • Loading branch information...
2 parents 7b3dae9 + 12f2dc5 commit 43812bf883f4b09f838092ddc9601be029d1bb09 Sam Hemelryk committed Jan 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 course/lib.php
View
5 course/lib.php
@@ -49,6 +49,11 @@
function make_log_url($module, $url) {
switch ($module) {
case 'course':
+ if (strpos($url, 'report/') === 0) {
+ // there is only one report type, curse reports are deprecated
+ $url = "/$url";
+ break;
+ }
case 'file':
case 'login':
case 'lib':

0 comments on commit 43812bf

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