From a879b646202566cc5895a7b28c89016bb323e64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 13 Apr 2010 14:14:04 +0200 Subject: [PATCH] Avoid double spaces. They come from PMA_formatNumber without unit. --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index d9ff7c521..f07223303 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1397,7 +1397,7 @@ function PMA_formatByteDown($value, $limes = 6, $comma = 0) $return_value = PMA_formatNumber($value, 0); } - return array($return_value, $unit); + return array(trim($return_value), $unit); } // end of the 'PMA_formatByteDown' function /**