feature 2978: error func_get_args(): Can't be used as a function parameter on PHP <= 5.2

git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-10-24 08:42:36 +00:00
parent a364b38501
commit fcf12b0b28

View file

@ -924,7 +924,8 @@ function l10n($key)
if (func_num_args() > 1)
{
$val = vsprintf($val, array_slice(func_get_args(), 1));
$args = func_get_args();
$val = vsprintf($val, array_slice($args, 1));
}
return $val;