mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 05:51:14 +01:00
CombinedAPI bugfix
This commit is contained in:
parent
a890789a5d
commit
d1be0834cc
@ -35,7 +35,7 @@ abstract class CombinedEventHandler
|
|||||||
{
|
{
|
||||||
$keys = method_exists($this, '__magic_sleep') ? $this->__magic_sleep() : get_object_vars($this);
|
$keys = method_exists($this, '__magic_sleep') ? $this->__magic_sleep() : get_object_vars($this);
|
||||||
unset($keys['CombinedAPI']);
|
unset($keys['CombinedAPI']);
|
||||||
if (isset($this->CombinedAPI)) {
|
if (isset($this->CombinedAPI) && $this->CombinedAPI instanceof CombinedAPI) {
|
||||||
foreach ($this->CombinedAPI->instance_paths as $path) {
|
foreach ($this->CombinedAPI->instance_paths as $path) {
|
||||||
unset($keys[$path]);
|
unset($keys[$path]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user