From 6d8e38e97388caa54f3379139dc2eb70109dd361 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 25 Sep 2004 13:11:22 +0000 Subject: [PATCH] Merged from stable - Only break up subject lines for recent activity bug 1995 --- mod/forum/lib.php | 1 + mod/forum/post.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 1c1dd153a9..0b7a8cab86 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -722,6 +722,7 @@ function forum_print_recent_activity($course, $isteacher, $timestart) { $fullname = fullname($post, $isteacher); echo "

$date - $fullname
"; echo "\"wwwroot/mod/forum/$log->url\">"; + $post->subject = break_up_long_words($post->subject); if (!empty($CFG->filterall)) { $post->subject = filter_text("$post->subject", $course->id); } diff --git a/mod/forum/post.php b/mod/forum/post.php index eaba012a29..44915eaf22 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -28,7 +28,6 @@ } $post->subject = strip_tags($post->subject, ''); // Strip all tags except lang - $post->subject = break_up_long_words($post->subject); //$post->message = clean_text($post->message, $post->format); // Clean up any bad tags -- 2.39.5