diff options
-rw-r--r-- | xml.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ function start_element($parser, $name, $attrs) $name = $this->_p['prefix'] . $name; if (!class_exists($name)) - eval("class $name extends $this->_baseclass {}"); + eval("class $name extends $this->_baseclass { function $name() {} }"); # Extend base class but overwrite constructor with an empty one if (!$this->_stack && !$this->_p['factory']) array_unshift($this->_stack, &$this); |