From b92dd3499ca68370c9849c4f80322adfe6171177 Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 19 Jun 2023 23:19:11 +0400 Subject: [PATCH] fix empty status wg --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 40c5a47..fd98751 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1739,7 +1739,7 @@ DNS-over-HTTPS with IP: ]); } } - $text = "Menu -> Wireguard\n\n" . implode(PHP_EOL, $text) . ''; + $text = "Menu -> Wireguard\n\n" . implode(PHP_EOL, $text ?: []) . ''; $data[] = [[ 'text' => $this->i18n('back'), 'callback_data' => "/menu",