bug 795: correct copy paste error
authorINOPIAE <inopiae@cacert.org>
Mon, 10 Dec 2012 20:32:29 +0000 (21:32 +0100)
committerINOPIAE <inopiae@cacert.org>
Mon, 10 Dec 2012 20:32:29 +0000 (21:32 +0100)
www/index.php

index 4d45473..f203d61 100644 (file)
@@ -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;