diff options
author | Christian Schneider | 2007-02-07 16:31:31 +0000 |
---|---|---|
committer | Christian Schneider | 2007-02-07 16:31:31 +0000 |
commit | bfec203093200b30eceb92edae8b009bb62ad611 (patch) | |
tree | e052b2e8c727d7b79ce2931fdbf7f5624194c12b /xml.class | |
parent | a7a035ce0c44abae1591d9816a46292ccf8f09a1 (diff) | |
download | itools-bfec203093200b30eceb92edae8b009bb62ad611.tar.gz itools-bfec203093200b30eceb92edae8b009bb62ad611.tar.bz2 itools-bfec203093200b30eceb92edae8b009bb62ad611.zip |
Fix multiple empty tags not creating an array
Diffstat (limited to 'xml.class')
-rw-r--r-- | xml.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ function end_element($parser, $name) { if (is_array($this->_stack[1]->$name)) array_push($this->_stack[1]->$name, &$this->_stack[0]); - else if ($this->_stack[1]->$name) + else if (isset($this->_stack[1]->$name)) $this->_stack[1]->$name = array($this->_stack[1]->$name, &$this->_stack[0]); else if (isset($this->_arrayforce[$name])) $this->_stack[1]->$name = array(&$this->_stack[0]); |