summaryrefslogtreecommitdiff
path: root/xml.class
diff options
context:
space:
mode:
authorChristian Schneider2007-02-13 00:14:20 +0000
committerChristian Schneider2007-02-13 00:14:20 +0000
commit40c23e8e6ae2579fa279416b9f2fda5874b360a7 (patch)
tree46d7ef2720b71ab5890884256d44174aeb93c9f8 /xml.class
parent1d6fbc19ddf76834c38acba469f8851b44a50a90 (diff)
downloaditools-40c23e8e6ae2579fa279416b9f2fda5874b360a7.tar.gz
itools-40c23e8e6ae2579fa279416b9f2fda5874b360a7.tar.bz2
itools-40c23e8e6ae2579fa279416b9f2fda5874b360a7.zip
Test runtests.sh
Diffstat (limited to 'xml.class')
-rw-r--r--xml.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.class b/xml.class
index 6a0f81a..f61793f 100644
--- a/xml.class
+++ b/xml.class
@@ -156,7 +156,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))
{
if (is_a($this->_stack[1]->$name, "it_xml"))
$this->_stack[1]->$name = array($this->_stack[1]->$name, &$this->_stack[0]);