]> git.mjollnir.org Git - moodle.git/commitdiff
course/logs MDL-15090 - Broken links generated for role actions in logs
authorpoltawski <poltawski>
Wed, 9 Sep 2009 12:45:45 +0000 (12:45 +0000)
committerpoltawski <poltawski>
Wed, 9 Sep 2009 12:45:45 +0000 (12:45 +0000)
course/lib.php

index e8aa13a4ecb734751240f322c9cab862bd62ccde..a30ea6e230b13aeccca67e0ea4a1ec51a878900e 100644 (file)
@@ -64,6 +64,9 @@ function make_log_url($module, $url) {
         case 'tag':
             $url = "/tag/$url";
             break;
+        case 'role':
+            $url = '/'.$url;
+            break;
         default:
             $url = "/mod/$module/$url";
             break;