summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
authorUrban Müller2009-10-01 12:55:56 +0000
committerUrban Müller2009-10-01 12:55:56 +0000
commit4fa947294e8be3042807da1ba52d21bd1ca0a7ae (patch)
tree46e8940d8c15c23387066c5868977f593cdbb80f /it_xml.class
parent5115c25bb852f8463b2d6584dc29024c7003e71c (diff)
downloaditools-4fa947294e8be3042807da1ba52d21bd1ca0a7ae.tar.gz
itools-4fa947294e8be3042807da1ba52d21bd1ca0a7ae.tar.bz2
itools-4fa947294e8be3042807da1ba52d21bd1ca0a7ae.zip
more verbose errors
Diffstat (limited to 'it_xml.class')
-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;