git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7075 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
misol 2009-12-28 06:55:20 +00:00
parent c1ff5313ce
commit bb498be38d
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@
function _toXmlDoc(&$oModule) {
$variables = $oModule->getVariables();
$xmlDoc = "<response>\n";
$xmlDoc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<response>\n";
$xmlDoc .= sprintf("<error>%s</error>\n",$oModule->getError());
$xmlDoc .= sprintf("<message>%s</message>\n",str_replace(array('<','>','&'),array('&lt;','&gt;','&amp;'),$oModule->getMessage()));