add missing title

This commit is contained in:
Garvin Hicking 2008-03-15 15:15:01 +00:00
parent 1be639a7e7
commit eb82580e0c

View 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 ) {