Fixes
This commit is contained in:
parent
62c29c9415
commit
bb8bf4a048
@ -30,6 +30,7 @@ class CombinedUpdatesState
|
|||||||
if (!is_array($init)) {
|
if (!is_array($init)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$this->states[$channel] = new UpdatesState();
|
||||||
foreach ($init as $channel => $state) {
|
foreach ($init as $channel => $state) {
|
||||||
if (is_array($state)) {
|
if (is_array($state)) {
|
||||||
$state = new UpdatesState($state, $channel);
|
$state = new UpdatesState($state, $channel);
|
||||||
|
Loading…
Reference in New Issue
Block a user