Changeset 47f0725 in github


Ignore:
Timestamp:
Jun 1, 2009 12:33:51 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a36cf6d
Parents:
0e99d37
Message:
  • Fix displaying of big maximum upload filesize (#1485889)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r52818559 r47f0725  
    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) 
  • program/include/rcube_shared.inc

    r23a2eec r47f0725  
    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.