From 068ba69b7d90b253bdb593d27d716f2bf27a91b1 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 9 Feb 2007 16:51:32 +0000 Subject: Test runtests.sh --- xml.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml.class b/xml.class index f61793f..6a0f81a 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 (isset($this->_stack[1]->$name)) + else if (($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]); -- cgit v1.2.3