From: Tim Starling Date: Mon, 28 Feb 2011 02:40:39 +0000 (+0000) Subject: Fixed fatal error in Preprocessor_Hash due to r82645 X-Git-Tag: 1.31.0-rc.0~31726 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=4431b79a68acbaf2d0d64f49438871e04615f4b1;p=lhc%2Fweb%2Fwiklou.git Fixed fatal error in Preprocessor_Hash due to r82645 --- 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