Workaround

This commit is contained in:
Daniil Gentili 2019-06-13 17:56:46 +02:00
parent 69ed0f733d
commit 471c3fc534
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit dc05dc5cebfcec90ac7851928c522a4d635dbab6
Subproject commit d9adbbb25c3edb2bd076500562040249742644a4

View File

@ -237,7 +237,7 @@ class MTProto extends AsyncConstruct implements TLCallback
{
if ($file === null) $file = basename(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1)[0]['file'], '.php');
return $this->logger->logger($param, $level, $file);
return isset($this->logger) ? $this->logger->logger($param, $level, $file) : Logger::$default->logger($param, $level, $file);
}
public function isAltervista()
{