Skip to content

Commit b1a6089

Browse files
authored
bug fix when result is zero
1 parent a874c10 commit b1a6089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TelegramBotHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function send(string $message, $option = []): void
7575
}
7676
$httpClient = new Client($option);
7777

78-
if (strpos($this->botApi, 'https://api.telegram.org') == false) {
78+
if (strpos($this->botApi, 'https://api.telegram.org') === false) {
7979
$url = $this->botApi;
8080
} else {
8181
$url = $this->botApi . $this->token . '/SendMessage';

0 commit comments

Comments
 (0)