aboutsummaryrefslogtreecommitdiffstats
path: root/libs/system.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/system.php')
-rw-r--r--libs/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/system.php b/libs/system.php
index ee43722..b6341f6 100644
--- a/libs/system.php
+++ b/libs/system.php
@@ -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