Skip to content

Commit

Permalink
fix: isBot function
Browse files Browse the repository at this point in the history
  • Loading branch information
Zillion01 committed Jul 2, 2023
1 parent 0c53494 commit 45a8e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/QuestionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ private function isBot(): bool
foreach ($bots as $bot) {
if (stripos($userAgent, htmlspecialchars($bot)) !== false) return true;
}
return true;
return false;
}
}

0 comments on commit 45a8e22

Please sign in to comment.