Permalink
Browse files

MDL-44370 calendar: Fix calendar url in reports

  • Loading branch information...
1 parent 53490ad commit a6b19633491c1d70bb5e69a094554f774f49e832 @ankitagarwal ankitagarwal committed Feb 26, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 course/lib.php
View
@@ -70,7 +70,6 @@ function make_log_url($module, $url) {
case 'login':
case 'lib':
case 'admin':
- case 'calendar':
case 'category':
case 'mnet course':
if (strpos($url, '../') === 0) {
@@ -79,6 +78,9 @@ function make_log_url($module, $url) {
$url = "/course/$url";
}
break;
+ case 'calendar':
+ $url = "/calendar/$url";
+ break;
case 'user':
case 'blog':
$url = "/$module/$url";

0 comments on commit a6b1963

Please sign in to comment.