Update global_functions.php

This commit is contained in:
FishZe 2022-08-11 07:38:04 +08:00 committed by Jerry Ma
parent 1ebcfa8e7e
commit 5f3a626557

View File

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