It seems session time is now returning a float, cast it to an int
This commit is contained in:
parent
5389739920
commit
b17fe1d2ee
@ -92,7 +92,7 @@ class Node
|
|||||||
|
|
||||||
// Return how long our session has been connected
|
// Return how long our session has been connected
|
||||||
case 'session_time':
|
case 'session_time':
|
||||||
return Carbon::now()->diffInSeconds($this->start_time);
|
return sprintf("%d",Carbon::now()->diffInSeconds($this->start_time));
|
||||||
|
|
||||||
case 'system':
|
case 'system':
|
||||||
case 'sysop':
|
case 'sysop':
|
||||||
|
Loading…
Reference in New Issue
Block a user