]> git.sesse.net Git - xml-template/commitdiff
Fix "ID bleeding" in the PHP.
authorsgunderson@bigfoot.com <>
Sat, 12 Aug 2006 23:36:04 +0000 (01:36 +0200)
committersgunderson@bigfoot.com <>
Sat, 12 Aug 2006 23:36:04 +0000 (01:36 +0200)
php/xml-template.php

index 1a7434ae99947db0d62c56f411ea10cdd8f30484..37f7d653a071f8f84a8d4d836bed400ee4ad8cf5 100644 (file)
@@ -33,6 +33,8 @@ function XML_Template_process($node, $obj, $clean = 1)
                        $processed = false;
 
                        if ($child->node_type() == XML_ELEMENT_NODE) {
+                               unset($id);
+
                                $tag = $child->node_name();
                                $attrs = $child->attributes();
                                if (isset($attrs)) {