From d94c15d2e865d95941e1ecef15ae60fd2f3d06eb Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 9 Aug 2001 04:53:31 +0000 Subject: [PATCH] per skeeter, a different fix to the problem --- phpgwapi/inc/class.xmlrpcmsg.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.xmlrpcmsg.inc.php b/phpgwapi/inc/class.xmlrpcmsg.inc.php index a3ed8c0dab..a0e773b9d0 100644 --- a/phpgwapi/inc/class.xmlrpcmsg.inc.php +++ b/phpgwapi/inc/class.xmlrpcmsg.inc.php @@ -104,7 +104,6 @@ $GLOBALS['_xh'][$parser]['isf'] = 0; $GLOBALS['_xh'][$parser]['ac'] = ''; $GLOBALS['_xh'][$parser]['qt'] = ''; - $GLOBALS['_xh'][$parser]['ha'] = ''; xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, true); xml_set_element_handler($parser, "xmlrpc_se", "xmlrpc_ee"); @@ -129,7 +128,7 @@ return $r; } // gotta get rid of headers here - if ((!$hdrfnd) && ereg("^(.*)\r\n\r\n",$data,$_xh[$parser]['ha'])) + if ((!$hdrfnd) && ereg("^(.*)\r\n\r\n",$data,$GLOBALS['_xh'][$parser]['ha'])) { $data=ereg_replace("^.*\r\n\r\n", "", $data); $hdrfnd=1;