summaryrefslogtreecommitdiff
path: root/story.php
diff options
context:
space:
mode:
Diffstat (limited to 'story.php')
-rw-r--r--story.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/story.php b/story.php
index 971eb9f11..9d2f31151 100644
--- a/story.php
+++ b/story.php
@@ -20,7 +20,7 @@ function story_render($id, $cid) {
switch($op) {
case t("Preview comment"):
$theme->header();
- comment_preview(check_input($pid), check_input($id), check_input($subject), check_input($comment));
+ comment_preview(check_input($pid), check_input($id), ($subject ? check_output($subject) : ""), ($comment ? check_output($comment) : ""));
$theme->footer();
break;
case t("Post comment"):