mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +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
3a6e839a14
commit
6d78b5ce58
@ -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