Commit 42f1c0c9 authored by Steven Wittens's avatar Steven Wittens

Comment.module:

Comment previewing was broken since 1.263, resulting in a double page.
parent e35674d4
......@@ -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?
......
......@@ -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?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment