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