Delete invalid settings
This commit is contained in:
parent
95dde221cc
commit
05aa720c5d
@ -226,6 +226,7 @@ class MTProto
|
|||||||
}
|
}
|
||||||
foreach ($settings['connection_settings'] as $key => &$connection) {
|
foreach ($settings['connection_settings'] as $key => &$connection) {
|
||||||
if (!is_array($connection)) {
|
if (!is_array($connection)) {
|
||||||
|
unset($settings['connection_settings'][$key]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!isset($connection['proxy'])) {
|
if (!isset($connection['proxy'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user