Bug #6007 - "The requested URL /course/report/log/view.php was not found on this server"

This commit is contained in:
skodak 2006-07-04 05:25:39 +00:00
parent 825eadf070
commit fc62b3ed36

View file

@ -410,7 +410,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
echo '<tr class="r'.$row.'">'; echo '<tr class="r'.$row.'">';
if ($course->id == SITEID) { if ($course->id == SITEID) {
echo "<td class=\"r$row c0\" nowrap=\"nowrap\">\n"; 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>\n";
} }
echo "<td class=\"r$row c1\" nowrap=\"nowrap\" align=\"right\">".userdate($log->time, '%a'). echo "<td class=\"r$row c1\" nowrap=\"nowrap\" align=\"right\">".userdate($log->time, '%a').