From: moodler Date: Sat, 25 Sep 2004 13:11:22 +0000 (+0000) Subject: Merged from stable - Only break up subject lines for recent activity bug 1995 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6d8e38e97388caa54f3379139dc2eb70109dd361;p=moodle.git Merged from stable - Only break up subject lines for recent activity bug 1995 --- 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