summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-08 17:30:41 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-08 17:30:41 +0000
commit87916cf8bba9ffcc24d4c532d621f97b9f797611 (patch)
tree26dac9e0cbc258eed20d08d4cde6b6a5ab9abfe0 /includes
parent3d78f736e19da253b9c645728d64b257dcb14020 (diff)
downloadbrdo-87916cf8bba9ffcc24d4c532d621f97b9f797611.tar.gz
brdo-87916cf8bba9ffcc24d4c532d621f97b9f797611.tar.bz2
- small bugfix
Diffstat (limited to 'includes')
-rw-r--r--includes/comment.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/comment.inc b/includes/comment.inc
index 9cc66fa3f..9dc3f5570 100644
--- a/includes/comment.inc
+++ b/includes/comment.inc
@@ -93,6 +93,9 @@ function comment_reply($pid, $id) {
function comment_preview($pid, $id, $subject, $comment) {
global $allowed_html, $link, $REQUEST_URI, $theme, $user;
+ $subject = check_output($subject);
+ $comment = check_output($comment);
+
// Preview comment:
comment_view(new Comment($user->userid, $subject, $comment, time(), $user->url, $user->fake_email, 0, 0, 0, 0), t("reply to this comment"));