diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-25 08:54:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-25 08:54:40 +0000 |
commit | b8832d76a0b710dfad011740899e4127565c5133 (patch) | |
tree | 6cc15aae737db3b1427ccfd3f236b86d20308185 /modules/comment.module | |
parent | 53a2ca41b444dbbf27a7a649e33c6aa1364005f4 (diff) | |
download | brdo-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.module | 4 |
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); } |