Browse Source

修改赛事

lip 3 tuần trước cách đây
mục cha
commit
4aeaffaf4b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/User.php

+ 1 - 1
app/Models/User.php

@@ -29,7 +29,7 @@ class User extends BaseModel
 
     function getLastActiveTimeAttribute($value): string
     {
-        if ($value > 0) {
+        if ($value > 0 && !is_numeric($value)) {
             return date('Y-m-d H:i', strtotime($value));
         }
         return "";