From 42f1c0c93c98c7124f7aba91c2cd8b3dba0c1068 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sun, 5 Sep 2004 10:29:38 +0000 Subject: Comment.module: Comment previewing was broken since 1.263, resulting in a double page. --- modules/comment.module | 2 +- modules/comment/comment.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/comment.module b/modules/comment.module index 923381af0..6289df15c 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -406,7 +406,7 @@ function comment_reply($nid, $pid = NULL) { $edit = $_POST['edit']; comment_validate_form($edit); print theme('page', comment_preview($edit), t('Preview comment')); - + return; } // or are we merely showing the form? diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 923381af0..6289df15c 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -406,7 +406,7 @@ function comment_reply($nid, $pid = NULL) { $edit = $_POST['edit']; comment_validate_form($edit); print theme('page', comment_preview($edit), t('Preview comment')); - + return; } // or are we merely showing the form? -- cgit v1.2.3