lip 2 settimane fa
parent
commit
4aeaffaf4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 "";