diff options
author | INOPIAE <inopiae@cacert.org> | 2012-12-10 21:32:29 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2012-12-10 21:32:29 +0100 |
commit | ad569591b69fdcd886712d6a53218e23fc539089 (patch) | |
tree | 3391f7165fe6dcaf73b3845e3cb441fdd383dcac /www | |
parent | 002a2f126180ca96a3cd1365306747b0b6a55108 (diff) | |
download | cacert-devel-ad569591b69fdcd886712d6a53218e23fc539089.tar.gz cacert-devel-ad569591b69fdcd886712d6a53218e23fc539089.tar.xz cacert-devel-ad569591b69fdcd886712d6a53218e23fc539089.zip |
bug 795: correct copy paste error
Diffstat (limited to 'www')
-rw-r--r-- | www/index.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/index.php b/www/index.php index 4d45473..f203d61 100644 --- a/www/index.php +++ b/www/index.php @@ -563,10 +563,9 @@ require_once('../includes/lib/l10n.php'); $subject = stripslashes($_REQUEST['subject']); $message = stripslashes($_REQUEST['message']); $secrethash = $_REQUEST['secrethash2']; + //check for spam via honeypot - if(!isset($_REQUEST['robotest']) || !empty($_REQUEST['robotest'])) - //check for spam via honeypot - if ($robotest!=""){ + if(!isset($_REQUEST['robotest']) || !empty($_REQUEST['robotest'])){ echo _("Form could not be send."); showfooter(); exit; |