From 9c4ff53d926547e3a4504da4fa1cf43d0ffd0638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 16 Jan 2008 22:56:21 +0000 Subject: #210260 by dropcube: kill notice when anonymous users uses site-wide contact form --- modules/contact/contact.pages.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') 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'), ); -- cgit v1.2.3