mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 23:14:38 +01:00
Bugfix
This commit is contained in:
parent
170308d574
commit
489ce873d0
@ -567,7 +567,7 @@ trait BotAPI
|
||||
*/
|
||||
public function parseMode(array $arguments): \Generator
|
||||
{
|
||||
if ($arguments['message'] === '' || !isset($arguments['message']) || !isset($arguments['parse_mode'])) {
|
||||
if (($arguments['message'] ?? '') === '' || !isset($arguments['parse_mode'])) {
|
||||
return $arguments;
|
||||
}
|
||||
if (isset($arguments['parse_mode']['_'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user