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);