aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tools.php b/misc/tools.php
index 9917be7..602722e 100644
--- a/misc/tools.php
+++ b/misc/tools.php
@@ -18,7 +18,7 @@
}
}
- function humanfilesize($size, $unit="") {
+ function humanfilesize($size, $unit = "") {
if ((!$unit && $size >= 1 << 30) || $unit == "GB")
return number_format($size / (1 << 30),2)."GB";
if ((!$unit && $size >= 1 << 20) || $unit == "MB")