Skip to content

Commit

Permalink
MDL-44370 calendar: Fix calendar url in reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitagarwal committed Mar 4, 2014
1 parent 53490ad commit a6b1963
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion course/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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";
Expand Down

0 comments on commit a6b1963

Please sign in to comment.