浏览代码

Merge branch 'trunk'

Andy 5 年之前
父节点
当前提交
ea8464e9a2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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");