summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-25 08:54:40 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-25 08:54:40 +0000
commitb8832d76a0b710dfad011740899e4127565c5133 (patch)
tree6cc15aae737db3b1427ccfd3f236b86d20308185 /modules/comment.module
parent53a2ca41b444dbbf27a7a649e33c6aa1364005f4 (diff)
downloadbrdo-b8832d76a0b710dfad011740899e4127565c5133.tar.gz
brdo-b8832d76a0b710dfad011740899e4127565c5133.tar.bz2
- Patch #40753 by wtanaka/killes: #comment-form has disappeared from comment.module
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module4
1 files changed, 4 insertions, 0 deletions
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'] .= "<a id=\"comment-form\"></a>\n";
return form_render($form);
}