From 45a8e229f9d4ab2f2dc10815d5c4cf70a0d0a4ff Mon Sep 17 00:00:00 2001 From: Jacco van der Post Date: Sun, 2 Jul 2023 12:59:16 +0200 Subject: [PATCH] fix: isBot function --- Classes/Controller/QuestionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/QuestionController.php b/Classes/Controller/QuestionController.php index a249d52..372f475 100644 --- a/Classes/Controller/QuestionController.php +++ b/Classes/Controller/QuestionController.php @@ -208,6 +208,6 @@ private function isBot(): bool foreach ($bots as $bot) { if (stripos($userAgent, htmlspecialchars($bot)) !== false) return true; } - return true; + return false; } }