Permalink
Browse files

bug #2780722 [import] Incorrect maximum file size

  • Loading branch information...
lem9 committed Apr 29, 2009
1 parent 9e7caf4 commit 6c61d6c3209324f6603fb23d751eebb61422a135
Showing with 4 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +3 −1 libraries/common.lib.php
View
@@ -8,6 +8,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
3.1.5.0 (not yet released)
- patch #2739001 [export] XML does not allow spaces in element names,
thanks to Derek Schaefer - drummingds1
- bug #2780722 [import] Incorrect maximum file size
3.1.4.0 (2009-04-25)
+ patch #1808339 [doc] Apache SSLOptions and StdEnvVars FAQ,
View
@@ -140,7 +140,9 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
*/
function PMA_displayMaximumUploadSize($max_upload_size)
{
list($max_size, $max_unit) = PMA_formatByteDown($max_upload_size);
// I have to reduce the second parameter (sensitiveness) from 6 to 4
// to avoid weird results like 512 kKib
list($max_size, $max_unit) = PMA_formatByteDown($max_upload_size, 4);
return '(' . sprintf($GLOBALS['strMaximumSize'], $max_size, $max_unit) . ')';
}

0 comments on commit 6c61d6c

Please sign in to comment.