mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
per skeeter, a different fix to the problem
This commit is contained in:
parent
79dc14fd01
commit
d94c15d2e8
@ -104,7 +104,6 @@
|
|||||||
$GLOBALS['_xh'][$parser]['isf'] = 0;
|
$GLOBALS['_xh'][$parser]['isf'] = 0;
|
||||||
$GLOBALS['_xh'][$parser]['ac'] = '';
|
$GLOBALS['_xh'][$parser]['ac'] = '';
|
||||||
$GLOBALS['_xh'][$parser]['qt'] = '';
|
$GLOBALS['_xh'][$parser]['qt'] = '';
|
||||||
$GLOBALS['_xh'][$parser]['ha'] = '';
|
|
||||||
|
|
||||||
xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, true);
|
xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, true);
|
||||||
xml_set_element_handler($parser, "xmlrpc_se", "xmlrpc_ee");
|
xml_set_element_handler($parser, "xmlrpc_se", "xmlrpc_ee");
|
||||||
@ -129,7 +128,7 @@
|
|||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
// gotta get rid of headers here
|
// 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);
|
$data=ereg_replace("^.*\r\n\r\n", "", $data);
|
||||||
$hdrfnd=1;
|
$hdrfnd=1;
|
||||||
|
Loading…
Reference in New Issue
Block a user