From c2269c5bfa579ac08e9e914231b4812deb137a52 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Sat, 26 Apr 2008 18:07:12 +0200 Subject: [PATCH] Fix a PHP5 typo. --- php5/xml-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php5/xml-template.php b/php5/xml-template.php index 9b89e93..54d1452 100644 --- a/php5/xml-template.php +++ b/php5/xml-template.php @@ -11,7 +11,7 @@ function XML_Template_process_file($filename, $obj, $clean = 1) function XML_Template_process($node, $obj, $clean = 1) { if (is_a($obj, 'DOMNode')) { # overwrite - while ($node->childeNodes->length > 0) { + while ($node->childNodes->length > 0) { $child = $node->childNodes->item(0); $node->removeChild($child); } -- 2.39.2