summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/util.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/util.inc.php b/inc/util.inc.php
index 52e1dbca..9f6f63db 100644
--- a/inc/util.inc.php
+++ b/inc/util.inc.php
@@ -244,7 +244,7 @@ SADFACE;
if ($factor === 0) {
$decimals = 0;
} else {
- $bytes = round($bytes / pow(1024, $factor));
+ $bytes = $bytes / pow(1024, $factor);
if ($decimals === -1) {
$decimals = 2 - floor(strlen((int)$bytes) - 1);
}