diff options
author | Simon Könnecke <simonkoennecke@gmail.com> | 2013-11-25 15:26:03 +0400 |
---|---|---|
committer | Simon Könnecke <simonkoennecke@gmail.com> | 2013-11-25 15:26:03 +0400 |
commit | 243f3f0c4c2831f4cf27c33f1d4cc748843d24da (patch) | |
tree | edf7a6351533013aaded0c2b2e3fe8f9375c9f37 /lib/private/helper.php | |
parent | de2b4440301badf48e638ede84f64692f2a2db41 (diff) |
No decimal points for Kilobyte and Byte #5371.
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index c82d3bd4ef4..4fe3097af26 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -252,7 +252,7 @@ class OC_Helper { if ($bytes < 1024) { return "$bytes B"; } - $bytes = round($bytes / 1024, 1); + $bytes = round($bytes / 1024, 0); if ($bytes < 1024) { return "$bytes kB"; } |