From 5f3a626557dcfa9f75cb4771e91c506c7102c7c1 Mon Sep 17 00:00:00 2001 From: FishZe <65108397+FishZe@users.noreply.github.com> Date: Thu, 11 Aug 2022 07:38:04 +0800 Subject: [PATCH] Update global_functions.php --- src/ZM/global_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZM/global_functions.php b/src/ZM/global_functions.php index 23972eef..4c0ad88e 100644 --- a/src/ZM/global_functions.php +++ b/src/ZM/global_functions.php @@ -75,7 +75,7 @@ function explode_msg(string $msg, array $includes = [' ', "\t"]): array $msg_seg = explode("\n", $msg); $ls = []; foreach ($msg_seg as $v) { - if (empty(trim($v))) { + if (empty(trim($v)) && trim($v) != 0) { continue; } $ls[] = trim($v);