lip 2 týždňov pred
rodič
commit
4aeaffaf4b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 "";