Browse Source

Fix overlooked default parameter value

pdontthink 5 years ago
parent
commit
40f716e136
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/strings.php

+ 1 - 1
functions/strings.php

@@ -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");