From d8c602e65478950fb624d8da3afd2dd6e244f972 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Mar 2004 21:38:09 +0000 Subject: [PATCH] fixed the categories xmlrpc signature --- infolog/inc/class.boinfolog.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infolog/inc/class.boinfolog.inc.php b/infolog/inc/class.boinfolog.inc.php index 54a76e181e..1809c4fe86 100644 --- a/infolog/inc/class.boinfolog.inc.php +++ b/infolog/inc/class.boinfolog.inc.php @@ -531,8 +531,8 @@ ), 'categories' => array( 'function' => 'categories', - 'signature' => array(array(xmlrpcBool,xmlrpcStruct)), - 'docstring' => lang('List all categories.') + 'signature' => array(array(xmlrpcBoolean,xmlrpcBoolean)), + 'docstring' => lang('List all categories') ), 'list_methods' => array( 'function' => 'list_methods', @@ -609,6 +609,6 @@ // return array with all infolog categories (for xmlrpc) function categories($complete = False) { - return $GLOBALS['server']->categories($complete); + return $this->xmlrpc ? $GLOBALS['server']->categories($complete) : False; } }