From: sgunderson@bigfoot.com <> Date: Sat, 12 Aug 2006 23:36:04 +0000 (+0200) Subject: Fix "ID bleeding" in the PHP. X-Git-Url: https://git.sesse.net/?p=xml-template;a=commitdiff_plain;h=4a44338b467e4c866f4e4970ea96becc5fa4e8b3 Fix "ID bleeding" in the PHP. --- 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)) {