fixed not working xmlrpc system.time method

This commit is contained in:
Ralf Becker 2006-03-04 10:27:36 +00:00
parent 791187bf23
commit 52863057ec

View File

@ -932,7 +932,8 @@
$GLOBALS['_xmlrpcs_egw_time_doc'] = 'Returns system time based on optional format string';
function _xmlrpcs_time($server,$m)
{
$format = $m->getParam(0);
$param0 = $m->getParam(0);
$format = $param0->scalarval();
$format = $format ? $format : 'Y/m/d H:i:s';
return CreateObject(