mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
"PHP5.3 fix: call_user_func_array($callback,null) 2. parameter has to be array
If called in php5.2, $callback is called with no argument, in php5.3 above warning is issued and $callback is NOT called --> stoping some xajax calls from fmail in 1.6.002"
This commit is contained in:
parent
607dd27c48
commit
f1f2b4f956
@ -145,7 +145,7 @@ function doXMLHTTP()
|
||||
$ajaxClass =& CreateObject($appName.'.'.$className);
|
||||
$argList = $GLOBALS['egw']->translation->convert($argList, 'utf-8');
|
||||
|
||||
return call_user_func_array(array(&$ajaxClass, $functionName), $argList );
|
||||
return call_user_func_array(array(&$ajaxClass, $functionName), (array)$argList );
|
||||
}
|
||||
|
||||
$xajax = new xajax($_SERVER['PHP_SELF']);
|
||||
|
Loading…
Reference in New Issue
Block a user