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…
Reference in New Issue
Block a user