diff options
author | Christian Schneider | 2011-10-19 14:43:30 +0000 |
---|---|---|
committer | Christian Schneider | 2011-10-19 14:43:30 +0000 |
commit | ab9cf926c3651b9f62603d2c1d6362a50d3e7ebb (patch) | |
tree | 80c2a2b23071044847da76a2dd0b261dad77e3ea | |
parent | 26032604baf84a6e603bd7d47cde51e17dc58269 (diff) | |
download | itools-ab9cf926c3651b9f62603d2c1d6362a50d3e7ebb.tar.gz itools-ab9cf926c3651b9f62603d2c1d6362a50d3e7ebb.tar.bz2 itools-ab9cf926c3651b9f62603d2c1d6362a50d3e7ebb.zip |
Remove obsolete references for PHP 5.4 compatibility
-rw-r--r-- | it_xml.class | 4 |
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")) |