mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:34:42 +01:00
Workaround
This commit is contained in:
parent
69ed0f733d
commit
471c3fc534
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit dc05dc5cebfcec90ac7851928c522a4d635dbab6
|
||||
Subproject commit d9adbbb25c3edb2bd076500562040249742644a4
|
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user