mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 13:14:40 +01:00
Self-restart bugfix
This commit is contained in:
parent
b5786a6502
commit
22bac48aee
@ -117,7 +117,8 @@ trait Loop
|
||||
$params = $_GET;
|
||||
$params['MadelineSelfRestart'] = Tools::random_int();
|
||||
|
||||
list($url, $query) = explode($uri, '?', 2);
|
||||
$url = explode($uri, '?', 2)[0] ?? '';
|
||||
|
||||
$query = http_build_query($params);
|
||||
$uri = implode('?', [$url, $query]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user