Fix overlooked default parameter value
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 May 2020 05:04:52 +0000 (05:04 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 25 May 2020 05:04:52 +0000 (05:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14864 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index 515e87e8c19b6ccb660468ff7e0d3dc404846942..37e466fd6ca49ec1cfb8601a7d2ba046d5ddcbfd 100644 (file)
@@ -661,7 +661,7 @@ function OneTimePadCreate ($length=100) {
   * @since 1.0
   *
   */
-function show_readable_size($bytes, $filesize_divisor) {
+function show_readable_size($bytes, $filesize_divisor=1024) {
     $bytes /= $filesize_divisor;
     $type = _("KiB");