mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2026-06-11 18:28:47 -04:00
fix PHP 7.1 notices "non well formed numeric value" #52
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ if (!($totalSeconds = shell_exec('/usr/bin/cut -d. -f1 /proc/uptime')))
|
||||
}
|
||||
else
|
||||
{
|
||||
$uptime = Misc::getHumanTime($totalSeconds);
|
||||
$uptime = Misc::getHumanTime((int)$totalSeconds);
|
||||
}
|
||||
|
||||
// Last boot
|
||||
|
||||
Reference in New Issue
Block a user