diff options
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 5c88227fc..672e00dbd 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -2094,7 +2094,7 @@ function rcube_upload_progress() $status = apc_fetch($prefix . $params['name']); if (!empty($status)) { - $status['percent'] = $status['current']/$status['total']*100; + $status['percent'] = round($status['current']/$status['total']*100); $params = array_merge($status, $params); } } |