From 05aa720c5dc4248b0f137c61ca9a1b4e68e90888 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 1 Mar 2018 20:33:16 +0000 Subject: [PATCH] Delete invalid settings --- src/danog/MadelineProto/MTProto.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index cf5afc94..5f2973cb 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -226,6 +226,7 @@ class MTProto } foreach ($settings['connection_settings'] as $key => &$connection) { if (!is_array($connection)) { + unset($settings['connection_settings'][$key]); continue; } if (!isset($connection['proxy'])) {