diff --git a/interface/lib/classes/system.inc.php b/interface/lib/classes/system.inc.php index ede53034d35da3fe9997b9d8766d309cc3abda1a..0be2b6b1e9a7c774601c95caf94b5ad12f9282d3 100644 --- a/interface/lib/classes/system.inc.php +++ b/interface/lib/classes/system.inc.php @@ -71,7 +71,8 @@ class system { } if($arg_count > 1) { $args = func_get_args(); - + array_shift($args); + $pos = 0; $a = 0; foreach($args as $value) { diff --git a/server/lib/classes/system.inc.php b/server/lib/classes/system.inc.php index 88cf83eeba5d1331e5d2331a4197d1bead52d906..288f9d73f824c3d8eee266003ad253087bd05a10 100644 --- a/server/lib/classes/system.inc.php +++ b/server/lib/classes/system.inc.php @@ -2077,6 +2077,7 @@ class system{ } if($arg_count > 1) { $args = func_get_args(); + array_shift($args); $pos = 0; $a = 0;