From 683342ed6f6ea49554501976be492d52ba6ed96d Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Fri, 26 Apr 2024 23:49:59 +0200 Subject: [PATCH] fixed broken bot feedback --- static/php/ajaxmail.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; }