diff options
Diffstat (limited to 'modules/story.module')
-rw-r--r-- | modules/story.module | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/story.module b/modules/story.module index fbe8a12f4..d83557456 100644 --- a/modules/story.module +++ b/modules/story.module @@ -19,6 +19,18 @@ class Story { } } +function story_post_threshold($node, $default) { + return $default; +} + +function story_dump_threshold($node, $default) { + return $default; +} + +function story_timout_threshold($node, $default) { + return $default; +} + function story_find($keys) { global $status, $user; $find = array(); @@ -44,7 +56,7 @@ function story_view($node, $page = 1) { switch($op) { case t("Preview comment"): $theme->header(); - comment_preview(check_input($pid), check_input($id), ($subject ? check_output($subject) : ""), ($comment ? check_output($comment) : "")); + comment_preview(check_input($pid), check_input($id), $subject, $comment); $theme->footer(); break; case t("Post comment"): |