mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
fix explode_msg 0 msg error
This commit is contained in:
parent
5f3a626557
commit
2c28ed9ab8
@ -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)) && trim($v) != 0) {
|
||||
if (trim($v) === '') {
|
||||
continue;
|
||||
}
|
||||
$ls[] = trim($v);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user