summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
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 4e838c1..2e687e1 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -33,7 +33,7 @@ class it_xml
* @return XML object tree or null on failure
*/
-function it_xml($xmldata = "", $p = array())
+function __construct($xmldata = "", $p = array())
{
if ($xmldata)
$this->from_xml($xmldata, $p);