From 2de185e530ac20de9e2781b69005314ffabd55c0 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Sat, 10 Apr 2010 16:44:10 +0000 Subject: [PATCH] Follow-up to r64407 - a perfect example of why we encourage using braces for one-line conditionals in the first place. --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index c5b4ef6123..8a59b65bc0 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -933,9 +933,9 @@ class Parser { $flag = 0; } else { $flag = Parser::PTD_FOR_INCLUSION; + } $dom = $this->preprocessToDom( $text, $flag ); $text = $frame->expand( $dom ); - } } else { # if $frame is not provided, then use old-style replaceVariables $text = $this->replaceVariables( $text ); -- 2.20.1