lip hai 2 semanas
pai
achega
4aeaffaf4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 "";