From ab9cf926c3651b9f62603d2c1d6362a50d3e7ebb Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 19 Oct 2011 14:43:30 +0000 Subject: Remove obsolete references for PHP 5.4 compatibility --- it_xml.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'it_xml.class') 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")) -- cgit v1.2.3