From: Wil Mahan Date: Fri, 24 Sep 2004 02:38:20 +0000 (+0000) Subject: Fix bug in pre-save transform caught by tester X-Git-Tag: 1.5.0alpha1~1832 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=122d8189235b0ce86df9abf1e221401d05d250a4;p=lhc%2Fweb%2Fwiklou.git Fix bug in pre-save transform caught by tester --- diff --git a/includes/Parser.php b/includes/Parser.php index 1549f82304..999250cdfb 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1771,7 +1771,7 @@ class Parser # Did we encounter this template already? If yes, it is in the cache # and we need to check for loops. - if ( isset( $this->mTemplates[$part1] ) ) { + if ( !$found && isset( $this->mTemplates[$part1] ) ) { # Infinite loop test if ( isset( $this->mTemplatePath[$part1] ) ) { $noparse = true;