Index: xmlrpc.php =================================================================== RCS file: /cvsroot/phpgroupware/phpgroupware/xmlrpc.php,v retrieving revision 1.11.4.7 diff -u -r1.11.4.7 xmlrpc.php --- xmlrpc.php 18 Nov 2003 08:45:25 -0000 1.11.4.7 +++ xmlrpc.php 5 Apr 2004 17:17:58 -0000 @@ -64,7 +64,7 @@ set_error_handler('xmlrpc_custom_error'); $headers = getallheaders(); - if (ereg('Basic',$headers['Authorization'])) + if (isset($headers['Authorization']) && ereg('Basic', $headers['Authorization'])) { $tmp = $headers['Authorization']; $tmp = ereg_replace(' ','',$tmp); @@ -80,7 +80,7 @@ // Find out what method they are calling // This function is odd, you *NEED* to assign the results // to a value, or $method is never returned. (jengo) - $null = xmlrpc_decode_request($request_xml, &$method); + $null = xmlrpc_decode_request($request_xml, $method); $GLOBALS['phpgw']->session->xmlrpc_method_called = $method; $GLOBALS['phpgw']->session->update_dla(); @@ -130,7 +130,7 @@ // Find out what method they are calling // This function is odd, you *NEED* to assign the results // to a value, or $method is never returned. (jengo) - $null = xmlrpc_decode_request($request_xml, &$method); + $null = xmlrpc_decode_request($request_xml, $method); if ($method == 'system.login') { @@ -248,7 +248,7 @@ { $p = $parameters[0]; - if ($p['domain']) + if (isset($p['domain']) && $p['domain']) { $username = $p['username'] . '@' . $p['domain']; }