spacing >:(

This commit is contained in:
2023-12-26 23:02:42 -05:00
parent 64b3371ac2
commit 0796c59f92

View File

@ -18,7 +18,7 @@
} }
} }
function humanfilesize($size, $unit="") { function humanfilesize($size, $unit = "") {
if ((!$unit && $size >= 1 << 30) || $unit == "GB") if ((!$unit && $size >= 1 << 30) || $unit == "GB")
return number_format($size / (1 << 30),2)."GB"; return number_format($size / (1 << 30),2)."GB";
if ((!$unit && $size >= 1 << 20) || $unit == "MB") if ((!$unit && $size >= 1 << 20) || $unit == "MB")