From b8832d76a0b710dfad011740899e4127565c5133 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 25 Jan 2006 08:54:40 +0000 Subject: [PATCH] - 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(+) diff --git a/modules/comment.module b/modules/comment.module index c8063cbc0c52..a7c8238ef7a4 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'] .= "<a id=\"comment-form\"></a>\n"; return form_render($form); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index c8063cbc0c52..a7c8238ef7a4 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'] .= "<a id=\"comment-form\"></a>\n"; return form_render($form); } -- GitLab