From b8832d76a0b710dfad011740899e4127565c5133 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 25 Jan 2006 08:54:40 +0000 Subject: - Patch #40753 by wtanaka/killes: #comment-form has disappeared from comment.module --- modules/comment.module | 4 ++++ modules/comment/comment.module | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'modules') diff --git a/modules/comment.module b/modules/comment.module index c8063cbc0..a7c8238ef 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1456,6 +1456,10 @@ function comment_form_submit($form_id, $form_values) { */ function theme_comment_form($form) { + if (!isset($form['#prefix'])) { + $form['#prefix'] = ''; + } + $form['#prefix'] .= "\n"; return form_render($form); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index c8063cbc0..a7c8238ef 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1456,6 +1456,10 @@ function comment_form_submit($form_id, $form_values) { */ function theme_comment_form($form) { + if (!isset($form['#prefix'])) { + $form['#prefix'] = ''; + } + $form['#prefix'] .= "\n"; return form_render($form); } -- cgit v1.2.3