diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php index bb225bdd82f..79c9dc4bf11 100644 --- a/lib/template.php +++ b/lib/template.php @@ -70,8 +70,8 @@ function human_file_size( $bytes ){ function simple_file_size($bytes) { $mbytes = round($bytes/(1024*1024),1); if($bytes == 0) { return '0'; } - else if($mbytes < 0.1) { return '< 0.1'; } - else if($mbytes > 1000) { return '> 1000'; } + else if($mbytes < 0.1) { return '< 0.1'; } + else if($mbytes > 1000) { return '> 1000'; } else { return number_format($mbytes, 1); } } |