diff --git a/app/Views/users.php b/app/Views/users.php
index 0872452..e5bff4a 100644
--- a/app/Views/users.php
+++ b/app/Views/users.php
@@ -22,9 +22,9 @@
sessiontimestamp>0)
+ if((int) $user->sessiontimestamp > 0)
{
- $date1 = new DateTime("");
+ $date1 = new DateTime();
$date2 = new DateTime($user->sessiontimestamp);
$interval = $date1->diff($date2);
$ago='';