Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-44370 calendar: Fix calendar url in reports

  • Loading branch information...
commit a6b19633491c1d70bb5e69a094554f774f49e832 1 parent 53490ad
@ankitagarwal ankitagarwal authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 course/lib.php
View
4 course/lib.php
@@ -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";
Please sign in to comment.
Something went wrong with that request. Please try again.