From 4431b79a68acbaf2d0d64f49438871e04615f4b1 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 28 Feb 2011 02:40:39 +0000 Subject: [PATCH] Fixed fatal error in Preprocessor_Hash due to r82645 --- includes/parser/Preprocessor_Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Preprocessor_Hash.php b/includes/parser/Preprocessor_Hash.php index ad57c47e08..baea6817ff 100644 --- a/includes/parser/Preprocessor_Hash.php +++ b/includes/parser/Preprocessor_Hash.php @@ -1031,7 +1031,7 @@ class PPFrame_Hash implements PPFrame { $serial = count( $this->parser->mHeadings ) - 1; $marker = "{$this->parser->mUniqPrefix}-h-$serial-" . Parser::MARKER_SUFFIX; $s = substr( $s, 0, $bits['level'] ) . $marker . substr( $s, $bits['level'] ); - $this->parser->mStripState->setGeneral( $marker, '' ); + $this->parser->mStripState->addGeneral( $marker, '' ); $out .= $s; } else { # Expand in virtual stack -- 2.20.1