summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_xml.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_xml.class b/it_xml.class
index f367147..2401b7b 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -191,7 +191,7 @@ function start_element($dummy_parser, $name, $attrs)
eval("class $name extends it_xml {}"); # Extending the base class caused problems with tel_xmlentry
if (!$this->_stack && !$this->_p['factory'])
- array_unshift($this->_stack, &$this);
+ array_unshift($this->_stack, $this);
else
array_unshift($this->_stack, new $name);
@@ -212,7 +212,7 @@ function end_element($dummy_parser, $name)
if (!$this->_stack[0]->consume($this->_p))
{
if (is_array($this->_stack[1]->$name))
- array_push($this->_stack[1]->$name, &$this->_stack[0]);
+ array_push($this->_stack[1]->$name, $this->_stack[0]);
else if (isset($this->_stack[1]->$name))
{
if (is_a($this->_stack[1]->$name, "it_xml"))