From 122d8189235b0ce86df9abf1e221401d05d250a4 Mon Sep 17 00:00:00 2001 From: Wil Mahan Date: Fri, 24 Sep 2004 02:38:20 +0000 Subject: [PATCH] Fix bug in pre-save transform caught by tester --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1