Backwards compatiblity fix
This commit is contained in:
parent
4ed8e8bd9b
commit
ac7f078e8c
@ -49,6 +49,9 @@ class MyTelegramOrgWrapper
|
|||||||
|
|
||||||
public function __wakeup()
|
public function __wakeup()
|
||||||
{
|
{
|
||||||
|
if ($this->settings === null) {
|
||||||
|
$this->settings = [];
|
||||||
|
}
|
||||||
$this->datacenter = new DataCenter(
|
$this->datacenter = new DataCenter(
|
||||||
new class($this->settings)
|
new class($this->settings)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user