Permalink
Browse files

MDL-31011 fix report links in logs

  • Loading branch information...
1 parent f70f6e9 commit 12f2dc577d7208f7adbab96c8911e3a927c670e1 @skodak skodak committed Jan 15, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 course/lib.php
View
@@ -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 12f2dc5

Please sign in to comment.