fix: Json::decode에서 빈줄은 array조차 아님

This commit is contained in:
2023-03-13 02:44:58 +09:00
parent 0a35505fa4
commit 90509516dd
+3
View File
@@ -23,6 +23,9 @@ $online = [];
$curonline = getOnlineNum();
foreach ($log as $i => $value) {
$parse = Json::decode($value);
if(is_array($parse) === false){
continue;
}
if(count($parse) < 5){
continue;
}