mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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/trunk@10858 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -577,13 +577,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