diff --git a/includes/functions.php b/includes/functions.php index aadf12dab..d0e3f07e7 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -511,7 +511,7 @@ function formatUptime($diff, $format="long") if($minsDiff > '0'){ $uptime .= $minsDiff . "m "; } if($secsDiff > '0'){ $uptime .= $secsDiff . "s "; } } - return "$uptime"; + return trim($uptime); } function isSNMPable($hostname, $community, $snmpver, $port)