bug #2780722 [import] Incorrect maximum file size
This commit is contained in:
@@ -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,
|
||||
|
@@ -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) . ')';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user