summaryrefslogtreecommitdiffstats
path: root/modules/xmlrpc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-23 23:57:36 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-23 23:57:36 +0000
commitee64379cf4c093d589502e72036759e66671cac7 (patch)
treec658ba971765153f9c440c8ce015876f131b8f2a /modules/xmlrpc
parent4ea4de9def83a38fb34cf6a3dcefc29059954c69 (diff)
downloadampache-ee64379cf4c093d589502e72036759e66671cac7.tar.gz
ampache-ee64379cf4c093d589502e72036759e66671cac7.tar.bz2
ampache-ee64379cf4c093d589502e72036759e66671cac7.zip
fixed an issue with the flash player when the play method was not default
Diffstat (limited to 'modules/xmlrpc')
-rw-r--r--modules/xmlrpc/xmlrpc.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/xmlrpc/xmlrpc.inc b/modules/xmlrpc/xmlrpc.inc
index d4b384be..ad08a05a 100644
--- a/modules/xmlrpc/xmlrpc.inc
+++ b/modules/xmlrpc/xmlrpc.inc
@@ -2551,7 +2551,7 @@ xmlrpc_encode_entitites($this->errstr, $GLOBALS['xmlrpc_internalencoding'], $cha
xml_parser_free($parser);
if($this->debug)
{
- print $errstr;
+ debug_event('XMLRPC',$errstr,'1','xmlrpc');
}
$r->hdrs = $GLOBALS['_xh']['headers'];
$r->_cookies = $GLOBALS['_xh']['cookies'];
@@ -2584,11 +2584,9 @@ xmlrpc_encode_entitites($this->errstr, $GLOBALS['xmlrpc_internalencoding'], $cha
{
if ($this->debug)
{
- print "<PRE>---PARSED---\n";
// somehow htmlentities chokes on var_export, and some full html string...
//print htmlentitites(var_export($GLOBALS['_xh']['value'], true));
- print htmlspecialchars(var_export($GLOBALS['_xh']['value'], true));
- print "\n---END---</PRE>";
+ debug_event('XMLRPC',var_export($GLOBALS['_xh']['value'],true),'1','xmlrpc');
}
// note that using =& will raise an error if $GLOBALS['_xh']['st'] does not generate an object.