Changeset 2590 in subversion
- Timestamp:
- Jun 1, 2009 12:33:51 PM (4 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_shared.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r2581 r2590 2 2 =========================== 3 3 4 - Fix displaying of big maximum upload filesize (#1485889) 4 5 - Added possibility to invert messages selection 5 6 - After move/delete from 'show' action display next message instead of messages list (#1485887) -
trunk/roundcubemail/program/include/rcube_shared.inc
r2453 r2590 239 239 * 240 240 * @param string Input string 241 * @return int Number of bytes241 * @return float Number of bytes 242 242 */ 243 243 function parse_bytes($str) 244 244 { 245 245 if (is_numeric($str)) 246 return intval($str);246 return floatval($str); 247 247 248 248 if (preg_match('/([0-9]+)([a-z])/i', $str, $regs)) … … 263 263 } 264 264 265 return intval($bytes);265 return floatval($bytes); 266 266 } 267 267
Note: See TracChangeset
for help on using the changeset viewer.
