Skip to content

Commit f02d5c2

Browse files
Update CheckIfBotIsReal.php
strtolower na comparação
1 parent fe4e325 commit f02d5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/CheckIfBotIsReal.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function handle()
4242
$found_bot_key = null;
4343

4444
foreach (array_keys($this->allowedBots) as $bot) {
45-
if (strpos($this->client->userAgent, strtolower($bot)) !== false) {
45+
if (strpos(strtolower($this->client->userAgent), strtolower($bot)) !== false) {
4646
$found_bot_key = $bot;
4747
break;
4848
}

0 commit comments

Comments
 (0)