diff --git a/src/API.php b/src/API.php index 6b29574dc..4e25564aa 100644 --- a/src/API.php +++ b/src/API.php @@ -52,7 +52,7 @@ final class API extends AbstractAPI * * @var string */ - public const RELEASE = '8.0.0-beta106'; + public const RELEASE = '8.0.0-beta107'; /** * Secret chat was not found. * diff --git a/src/Wrappers/Loop.php b/src/Wrappers/Loop.php index 77229758d..ec8cd2171 100644 --- a/src/Wrappers/Loop.php +++ b/src/Wrappers/Loop.php @@ -70,7 +70,7 @@ trait Loop $id = Shutdown::addCallback(static function () use (&$logger): void { $params = $_GET; $params['MadelineSelfRestart'] = Tools::randomInt(); - $url = \explode('?', $_SERVER['REQUEST_URI'], 2)[0] ?? ''; + $url = \explode('?', $_SERVER['REQUEST_URI'] ?? '', 2)[0] ?? ''; $query = \http_build_query($params); WebRunner::selfStart("$url?$query");