aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-12-27 00:18:54 -0500
committerSquibid <me@zacharyscheiman.com>2023-12-27 00:18:54 -0500
commit3274ca1700480fe68ad4ec6ea2e43d5aa6edb543 (patch)
treebee4089a566ec817f34d52f748b64d250f2b2eb1 /misc
parentef04bbb568f877f8d9604a361c05504be55b689f (diff)
parent0796c59f92954888dd413c6a277fab278bd9068a (diff)
downloadwallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.tar.gz
wallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.tar.bz2
wallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.zip
Merge branch 'master' into dev
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 0dbb7b8..0fec976 100644
--- a/misc/tools.php
+++ b/misc/tools.php
@@ -21,7 +21,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")