aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 5dc8ea255..e6db2456a 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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;