]> git.sesse.net Git - xml-template/commitdiff
Fix some cleaning bugs.
authorsgunderson@bigfoot.com <>
Sat, 12 Aug 2006 21:49:51 +0000 (23:49 +0200)
committersgunderson@bigfoot.com <>
Sat, 12 Aug 2006 21:49:51 +0000 (23:49 +0200)
perl/XML/Template.pm
php/xml-template.php

index 80115fcdbb55cbc9fc6f215f46284b3196f0fb03..19fa47082f7e7cb64021ae9be39a0e93c45eae52 100644 (file)
@@ -121,7 +121,6 @@ sub process {
                }
 
                $frag->dispose;
-               return;
        }
 
        clean($node, $nsup) if $clean;
index bbc76f2bf12afd9f7a4883b32a0a85749810cd39..4f22d6e483974b93db700192daad2a0064dc312e 100644 (file)
@@ -102,8 +102,6 @@ function XML_Template_process($node, $obj, $clean = 1)
                        }
                        $node->remove_child($child);
                }       
-
-               return;
        }
 
        if ($clean) {