diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 22:56:21 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 22:56:21 +0000 |
commit | 9c4ff53d926547e3a4504da4fa1cf43d0ffd0638 (patch) | |
tree | 9899a9b895027f1343b643ff38dbed7879a2a442 | |
parent | 5ecb68806bbd22967ff383e4285c649703a92a76 (diff) | |
download | brdo-9c4ff53d926547e3a4504da4fa1cf43d0ffd0638.tar.gz brdo-9c4ff53d926547e3a4504da4fa1cf43d0ffd0638.tar.bz2 |
#210260 by dropcube: kill notice when anonymous users uses site-wide contact form
-rw-r--r-- | modules/contact/contact.pages.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index 1054d5882..dc7d631c9 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -88,6 +88,9 @@ function contact_mail_page() { '#title' => t('Send yourself a copy.'), ); } + else { + $form['copy'] = array('#type' => 'value', '#value' => FALSE); + } $form['submit'] = array('#type' => 'submit', '#value' => t('Send e-mail'), ); |