summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_xml.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_xml.class b/it_xml.class
index fa67c4c..654042b 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -99,7 +99,7 @@ function from_xml($xmldata, $p)
if ($this->_p['safety'] >= 2)
it::fatal($this->error);
else if ($this->_p['safety'] >= 1)
- it::error($this->error);
+ it::error(array('title' => $this->error, 'body' => $xmldata));
if ($this->_p['factory'])
$GLOBALS['IT_XML_ERROR'] = $this->error;