summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-09-05 10:29:38 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-09-05 10:29:38 +0000
commit42f1c0c93c98c7124f7aba91c2cd8b3dba0c1068 (patch)
treef20be90bd550f5a365f14647840c3c9c66255d05 /modules
parente35674d4a2bee4f72f4a17ba4f5d8916e1b7f216 (diff)
downloadbrdo-42f1c0c93c98c7124f7aba91c2cd8b3dba0c1068.tar.gz
brdo-42f1c0c93c98c7124f7aba91c2cd8b3dba0c1068.tar.bz2
Comment.module:
Comment previewing was broken since 1.263, resulting in a double page.
Diffstat (limited to 'modules')
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
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?