diff --git a/course/lib.php b/course/lib.php index 4ae1afa47ad..1620064667d 100644 --- a/course/lib.php +++ b/course/lib.php @@ -581,12 +581,14 @@ function print_recent_activity($course) { } } - echo '
'.get_string('recentactivityreport').'
'; + echo ''.get_string('recentactivityreport').''; - echo ''; + echo '$date - $fullname
";
- echo "\"wwwroot/mod/forum/$log->url\">";
+ echo "\"wwwroot/mod/forum/".str_replace('&', '&', $log->url)."\">";
$post->subject = break_up_long_words($post->subject);
if (!empty($CFG->filterall)) {
$post->subject = filter_text("