zqwang 2 lat temu
rodzic
commit
4d5cfeea2a

+ 1 - 1
app/Http/Controllers/QuickApp/HuaWeiController.php

@@ -35,7 +35,7 @@ class HuaWeiController extends  Controller
                     $res = array_column($res,null,'bid');
                     $res = $res[66643] ?? [];
                 }
-                if ($res){
+                if (!is_empty($res)){
                     if (isset($res['cid']) && in_array($res['cid'],[30300728,30300727,30300726,30300725,30300724,30300723] )){
                         ReadRecordService::delReadRecordStatic($v->id [66643]);
                     }