From aa96521ca7063534ea3722747f44dbb6afcb0029 Mon Sep 17 00:00:00 2001 From: mappu Date: Mon, 4 May 2020 18:06:49 +1200 Subject: [PATCH] util: add space when formatting attachment file sizes --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index b303e57..69917c4 100644 --- a/lib/util.php +++ b/lib/util.php @@ -96,7 +96,7 @@ function fbytes($size, $suffixes='B|KiB|MiB|GiB|TiB') { array_shift($sxlist); $size /= 1024; } - return number_format($size, 2).array_shift($sxlist); + return number_format($size, 2).' '.array_shift($sxlist); } function str_ext($sz) {