From: garvinhicking Date: Sat, 15 Mar 2008 15:15:01 +0000 (+0000) Subject: add missing title X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=aa4ffcb22ba3497e37b413e9efd8a65c8ab73cb1;p=s9y.git add missing title --- diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index cc41dcf..453d772 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -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 ) {