Changeset 4948 in subversion


Ignore:
Timestamp:
Jul 21, 2011 2:41:53 AM (2 years ago)
Author:
alec
Message:
  • Round upload progress percentage value
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r4908 r4948  
    20952095 
    20962096        if (!empty($status)) { 
    2097             $status['percent'] = $status['current']/$status['total']*100; 
     2097            $status['percent'] = round($status['current']/$status['total']*100); 
    20982098            $params = array_merge($status, $params); 
    20992099        } 
Note: See TracChangeset for help on using the changeset viewer.