Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Könnecke <simonkoennecke@gmail.com>2013-11-25 15:26:03 +0400
committerSimon Könnecke <simonkoennecke@gmail.com>2013-11-25 15:26:03 +0400
commit243f3f0c4c2831f4cf27c33f1d4cc748843d24da (patch)
treeedf7a6351533013aaded0c2b2e3fe8f9375c9f37 /lib/private/helper.php
parentde2b4440301badf48e638ede84f64692f2a2db41 (diff)
No decimal points for Kilobyte and Byte #5371.
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php2
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";
}