diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-10-04 12:09:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-10-04 12:09:15 +0000 |
commit | 1a98fce9c41dea67b3f7ae5732d704e17134ff7d (patch) | |
tree | 375d89d2bab4d715a451184e6beb5cb61154a6f2 /modules/contact | |
parent | 27b50ef542bd8673eda1f72262c29d42eb9947fd (diff) | |
download | brdo-1a98fce9c41dea67b3f7ae5732d704e17134ff7d.tar.gz brdo-1a98fce9c41dea67b3f7ae5732d704e17134ff7d.tar.bz2 |
- Patch by Jeremy: fixed comment module glitch.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module index af129f48b..35e5be853 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -102,7 +102,7 @@ function contact_mail_user() { if (!$edit['subject']) { form_set_error('subject', t('You must enter a subject.')); } - form_validate($edit, $edit['mail'] . $user->name . $user->mail); + form_validate($edit, $user->name . $user->mail); if (!form_get_errors()) { // Compose the body: @@ -155,7 +155,7 @@ function contact_mail_user() { $output .= form_textfield(t('Subject'), 'subject', $edit['subject'], 60, 50, NULL, NULL, TRUE); $output .= form_textarea(t('Message'), 'message', $edit['message'], 60, 15, NULL, NULL, TRUE); $output .= form_checkbox(t('Send me a copy.'), 'copy', $edit['copy']); - $output .= form_token($edit['mail'] . $user->name . $user->mail); + $output .= form_token($user->name . $user->mail); $output .= form_submit(t('Send e-mail')); $output = form($output); } |