util: add space when formatting attachment file sizes
This commit is contained in:
parent
146f08dacd
commit
aa96521ca7
@ -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) {
|
||||
|
Reference in New Issue
Block a user