diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-15 16:31:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-15 16:31:01 +0000 |
commit | 21a9442bbbf31f6a311994165ae88ed2a21bbe9a (patch) | |
tree | 472719f337e4e40c25b578e3095116f4ae1e1065 /modules/comment/comment.module | |
parent | 922a46d28159737a61602876b961147f46428267 (diff) | |
download | brdo-21a9442bbbf31f6a311994165ae88ed2a21bbe9a.tar.gz brdo-21a9442bbbf31f6a311994165ae88ed2a21bbe9a.tar.bz2 |
- Patch #41081 by billturner: fixed problem with the comment settings form.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 5b62a852e..387d29ae4 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1297,7 +1297,7 @@ function comment_form($edit, $title = NULL) { else if (variable_get('comment_anonymous', COMMENT_ANONYMOUS_MAYNOT_CONTACT) == COMMENT_ANONYMOUS_MUST_CONTACT) { $form['name'] = array('#type' => 'textfield', '#title' => t('Your name'), '#maxlength' => 60, '#size' => 30, '#default_value' => $edit['name'] ? $edit['name'] : variable_get('anonymous', 'Anonymous'), '#required' => TRUE); - $form['name'] = array('#type' => 'textfield', '#title' => t('E-mail'), '#maxlength' => 64, '#size' => 30, '#default_value' => $edit['mail'],'#description' => t('The content of this field is kept private and will not be shown publicly.'), '#required' => TRUE); + $form['mail'] = array('#type' => 'textfield', '#title' => t('E-mail'), '#maxlength' => 64, '#size' => 30, '#default_value' => $edit['mail'],'#description' => t('The content of this field is kept private and will not be shown publicly.'), '#required' => TRUE); $form['homepage'] = array('#type' => 'textfield', '#title' => t('Homepage'), '#maxlength' => 255, '#size' => 30, '#default_value' => $edit['homepage']); } |