diff --git a/static/php/ajaxmail.php b/static/php/ajaxmail.php index 07e05f0..62cbefc 100644 --- a/static/php/ajaxmail.php +++ b/static/php/ajaxmail.php @@ -23,10 +23,7 @@ try { $bot = $_POST['tra'] ; - // Überprüfe, ob der Nutzer mit der Seite interagiert hat - $userInteracted = filter_input(INPUT_POST, 'userInteracted'); - - if ($bot) { + if ($bot == 'true') { // Es handelt sich wahrscheinlich um einen Bot $subject = 'Botverdacht - ' . $subject; }