Changeset 2590 in subversion


Ignore:
Timestamp:
Jun 1, 2009 12:33:51 PM (4 years ago)
Author:
alec
Message:
  • Fix displaying of big maximum upload filesize (#1485889)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r2581 r2590  
    22=========================== 
    33 
     4- Fix displaying of big maximum upload filesize (#1485889) 
    45- Added possibility to invert messages selection 
    56- After move/delete from 'show' action display next message instead of messages list (#1485887) 
  • trunk/roundcubemail/program/include/rcube_shared.inc

    r2453 r2590  
    239239 * 
    240240 * @param string Input string 
    241  * @return int Number of bytes 
     241 * @return float Number of bytes 
    242242 */ 
    243243function parse_bytes($str) 
    244244{ 
    245245  if (is_numeric($str)) 
    246     return intval($str); 
     246    return floatval($str); 
    247247     
    248248  if (preg_match('/([0-9]+)([a-z])/i', $str, $regs)) 
     
    263263  } 
    264264 
    265   return intval($bytes); 
     265  return floatval($bytes); 
    266266} 
    267267     
Note: See TracChangeset for help on using the changeset viewer.