summaryrefslogtreecommitdiff
path: root/story.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-08 19:30:41 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-08 19:30:41 +0000
commita1b158334a4f2362caa5186f81b41c7cc32011a5 (patch)
tree06bc3a3f559a90ad91506ada9ffbd2c90bdcfd5f /story.php
parentb109bb864428da414cba1be9b1d02aaa74276ba3 (diff)
downloadbrdo-a1b158334a4f2362caa5186f81b41c7cc32011a5.tar.gz
brdo-a1b158334a4f2362caa5186f81b41c7cc32011a5.tar.bz2
- more small improvements
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"):