From 4a44338b467e4c866f4e4970ea96becc5fa4e8b3 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Sun, 13 Aug 2006 01:36:04 +0200 Subject: [PATCH] Fix "ID bleeding" in the PHP. --- php/xml-template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/xml-template.php b/php/xml-template.php index 1a7434a..37f7d65 100644 --- a/php/xml-template.php +++ b/php/xml-template.php @@ -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)) { -- 2.39.5