fix empty status wg

This commit is contained in:
mercury
2023-06-19 23:19:11 +04:00
parent 319ed77214
commit b92dd3499c
+1 -1
View File
@@ -1739,7 +1739,7 @@ DNS-over-HTTPS with IP:
]);
}
}
$text = "Menu -> Wireguard\n\n<code>" . implode(PHP_EOL, $text) . '</code>';
$text = "Menu -> Wireguard\n\n<code>" . implode(PHP_EOL, $text ?: []) . '</code>';
$data[] = [[
'text' => $this->i18n('back'),
'callback_data' => "/menu",