Silent 6 năm trước cách đây
mục cha
commit
771caa1ea7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/CheckCard.php

+ 1 - 1
app/Models/CheckCard.php

xqd
@@ -50,6 +50,6 @@ class CheckCard extends Model
             }
         }
 
-        return $res;
+        return empty($res) ? 0 : $res;
     }
 }