Skip to content

Commit

Permalink
bug:2292
Browse files Browse the repository at this point in the history
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
  • Loading branch information
flop25 committed May 12, 2011
1 parent 2f6d84e commit b658b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/include/functions_upload.inc.php
Expand Up @@ -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;
Expand Down

0 comments on commit b658b84

Please sign in to comment.