]> git.mjollnir.org Git - moodle.git/commitdiff
Bug #6007 - "The requested URL /course/report/log/view.php was not found on...
authorskodak <skodak>
Tue, 4 Jul 2006 05:27:18 +0000 (05:27 +0000)
committerskodak <skodak>
Tue, 4 Jul 2006 05:27:18 +0000 (05:27 +0000)
course/lib.php

index a663301765baefadaf2ec51b54848207df274511..7fa299b1b4257176d39405b89e42dfc0de5cc6e9 100644 (file)
@@ -420,7 +420,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
         echo '<tr class="r'.$row.'">';
         if ($course->id == SITEID) {
             echo "<td class=\"r$row c0\" nowrap=\"nowrap\">\n";
-            echo "    <a href=\"view.php?id={$log->course}\">".$courses[$log->course]."</a>\n";
+            echo "    <a href=\"{$CFG->wwwroot}/course/view.php?id={$log->course}\">".$courses[$log->course]."</a>\n";
             echo "</td>\n";
         }
         echo "<td class=\"r$row c1\" nowrap=\"nowrap\" align=\"right\">".userdate($log->time, '%a').