From aa4ffcb22ba3497e37b413e9efd8a65c8ab73cb1 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Sat, 15 Mar 2008 15:15:01 +0000 Subject: [PATCH] add missing title --- include/functions_comments.inc.php | 3 +++ 1 file changed, 3 insertions(+) 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 ) { -- 2.39.5