From 4fa947294e8be3042807da1ba52d21bd1ca0a7ae Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 1 Oct 2009 12:55:56 +0000 Subject: more verbose errors --- it_xml.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_xml.class') 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; -- cgit v1.2.3