summaryrefslogtreecommitdiff
path: root/xml.class
diff options
context:
space:
mode:
authorChristian Schneider2007-02-09 16:52:14 +0000
committerChristian Schneider2007-02-09 16:52:14 +0000
commit1a5c18447e6d9dc7a6f0d31720ea28a66c190271 (patch)
treea9cf4c74f602ea04354ceb10d01750f14b2e2840 /xml.class
parent068ba69b7d90b253bdb593d27d716f2bf27a91b1 (diff)
downloaditools-1a5c18447e6d9dc7a6f0d31720ea28a66c190271.tar.gz
itools-1a5c18447e6d9dc7a6f0d31720ea28a66c190271.tar.bz2
itools-1a5c18447e6d9dc7a6f0d31720ea28a66c190271.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]);