From c245bfe3ae9763a3a094c17cf677450b66e1b45f Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Wed, 12 May 2004 13:55:40 +0000 Subject: [PATCH] fix a =/== typo --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 1cc870300b..8116e3e222 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1885,7 +1885,7 @@ class Parser $numMatches = preg_match_all( "/^(=+)(.*?)=+|^(.*?)<\/h[1-6].*?>/mi",$text,$matches); # no headings: text cannot be collapsed - if( $numMatches = 0 ) { + if( $numMatches == 0 ) { return ""; } -- 2.20.1