]> git.mjollnir.org Git - moodle.git/commitdiff
Added one missing format_string() to post->subject
authorstronk7 <stronk7>
Wed, 20 Dec 2006 10:00:02 +0000 (10:00 +0000)
committerstronk7 <stronk7>
Wed, 20 Dec 2006 10:00:02 +0000 (10:00 +0000)
Merged from MOODLE_17_STABLE

mod/forum/lib.php

index 6ad9b0a64e783e0a82e7558d74ec7577e1ad27fe..202b7b252ba24a81046f9778b83f5201c4641fa3 100644 (file)
@@ -1948,7 +1948,7 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
         echo '<td class="topic starter">';
     }
 
-    echo '<div class="subject">'.$post->subject.'</div>';
+    echo '<div class="subject">'.format_string($post->subject).'</div>';
 
     echo '<div class="author">';
     $fullname = fullname($post, has_capability('moodle/site:viewfullnames', $modcontext));