mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
Update global_functions.php
This commit is contained in:
parent
1ebcfa8e7e
commit
5f3a626557
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user