]> git.mjollnir.org Git - s9y.git/commitdiff
add missing title
authorgarvinhicking <garvinhicking>
Sat, 15 Mar 2008 15:15:01 +0000 (15:15 +0000)
committergarvinhicking <garvinhicking>
Sat, 15 Mar 2008 15:15:01 +0000 (15:15 +0000)
include/functions_comments.inc.php

index cc41dcfa70225fd1b62a5244132963750117e338..453d772c21eae8d5b826cf5a5ea5d11273bcdf67 100644 (file)
@@ -292,6 +292,9 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
             $comment['trace']   = $trace . $i;
             $comment['depth']   = $depth;
             $comment['author']  = htmlspecialchars($comment['author']);
+            if (isset($comment['title'])) {
+                $comment['title']   = htmlspecialchars($comment['title']);
+            }
 
             $_smartyComments[] = $comment;
             if ($comment['id'] && $parentid !== VIEWMODE_LINEAR ) {