Null file reference bugfix
This commit is contained in:
parent
371020ea83
commit
09360e9308
@ -542,7 +542,7 @@ class ReferenceDatabase implements TLCallback
|
|||||||
if (!$this->refresh) {
|
if (!$this->refresh) {
|
||||||
$this->API->logger->logger("Using null file reference for location of type $locationType object {$location['_']}", \danog\MadelineProto\Logger::ULTRA_VERBOSE);
|
$this->API->logger->logger("Using null file reference for location of type $locationType object {$location['_']}", \danog\MadelineProto\Logger::ULTRA_VERBOSE);
|
||||||
|
|
||||||
return 0;
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new \danog\MadelineProto\Exception("Could not find file reference for location of type $locationType object {$location['_']}");
|
throw new \danog\MadelineProto\Exception("Could not find file reference for location of type $locationType object {$location['_']}");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user