diff options
author | Squibid <me@zacharyscheiman.com> | 2023-12-27 00:18:54 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-12-27 00:18:54 -0500 |
commit | 3274ca1700480fe68ad4ec6ea2e43d5aa6edb543 (patch) | |
tree | bee4089a566ec817f34d52f748b64d250f2b2eb1 /misc/tools.php | |
parent | ef04bbb568f877f8d9604a361c05504be55b689f (diff) | |
parent | 0796c59f92954888dd413c6a277fab278bd9068a (diff) | |
download | wallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.tar.gz wallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.tar.bz2 wallheaven-3274ca1700480fe68ad4ec6ea2e43d5aa6edb543.zip |
Merge branch 'master' into dev
Diffstat (limited to '')
-rw-r--r-- | misc/tools.php | 2 |
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") |