From 52863057ec116f08136ea44865e814450339f9bd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 4 Mar 2006 10:27:36 +0000 Subject: [PATCH] fixed not working xmlrpc system.time method --- phpgwapi/inc/xml_functions.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/xml_functions.inc.php b/phpgwapi/inc/xml_functions.inc.php index 5bf55f9c5e..0f89acc8be 100644 --- a/phpgwapi/inc/xml_functions.inc.php +++ b/phpgwapi/inc/xml_functions.inc.php @@ -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(