From ededf4310976f06b46a57d675eaf901ea330b169 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 7 Jan 2010 11:43:55 +0000 Subject: [PATCH] trim formatUptime git-svn-id: http://www.observium.org/svn/observer/trunk@607 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)