Skip to content

Commit

Permalink
Merge pull request #50 from Zillion01/dev
Browse files Browse the repository at this point in the history
fix: isBot function
  • Loading branch information
Zillion01 committed Jul 2, 2023
2 parents 66a44ec + 45a8e22 commit 07af2a5
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 07af2a5

Please sign in to comment.