Silent 6 years ago
parent
commit
771caa1ea7
1 changed files with 1 additions and 1 deletions
  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;
     }
 }