summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 7141d3da8..6b71fd388 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -883,8 +883,9 @@ function comment_page() {
case t("Post comment"):
list($error_title, $error_body) = comment_post($edit);
if ($error_body) {
+ drupal_set_title($error_title);
print theme("header");
- print theme("box", $error_title, $error_body);
+ print $error_body;
print theme("footer");
}
else {