mnet MDL-17169 trim the raw xmlrpc response before passing it to the xml parser

merged from MOODLE_19_STABLE
This commit is contained in:
Penny Leach 2010-01-11 01:02:43 +00:00
parent 0fec4fa441
commit f4b58166b6

View file

@ -146,6 +146,8 @@ class mnet_xmlrpc_client {
} }
curl_close($httprequest); curl_close($httprequest);
$this->rawresponse = trim($this->rawresponse);
$mnet_peer->touch(); $mnet_peer->touch();
$crypt_parser = new mnet_encxml_parser(); $crypt_parser = new mnet_encxml_parser();