Fixed a bug for PHP < 5.3.0 (used func_get_arg as argument, which does not work on older PHP versions)
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -119,7 +119,8 @@ class linker
|
||||
# Overwrite $this->args with parameters of this function (if necessary)
|
||||
if(func_num_args() == 1 && is_array(func_get_arg(0)))
|
||||
{
|
||||
$this->args = array_merge($this->args, func_get_arg(0));
|
||||
$arguments = func_get_arg(0);
|
||||
$this->args = array_merge($this->args, $arguments);
|
||||
}
|
||||
|
||||
# temporary until frontcontroller exists
|
||||
|
||||
Reference in New Issue
Block a user