mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
merge 10858
Message: bug:2292 Fixed the spelling of a function name. convert_shortand_to_bytes into convert_shorthand_to_bytes git-svn-id: http://piwigo.org/svn/branches/2.2@10859 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -769,13 +769,13 @@ function get_ini_size($ini_key, $in_bytes=true)
|
||||
|
||||
if ($in_bytes)
|
||||
{
|
||||
$size = convert_shortand_notation_to_bytes($size);
|
||||
$size = convert_shorthand_notation_to_bytes($size);
|
||||
}
|
||||
|
||||
return $size;
|
||||
}
|
||||
|
||||
function convert_shortand_notation_to_bytes($value)
|
||||
function convert_shorthand_notation_to_bytes($value)
|
||||
{
|
||||
$suffix = substr($value, -1);
|
||||
$multiply_by = null;
|
||||
|
||||
Reference in New Issue
Block a user