From: Erik Moeller Date: Wed, 12 May 2004 13:55:40 +0000 (+0000) Subject: fix a =/== typo X-Git-Tag: 1.3.0beta1~85 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=c245bfe3ae9763a3a094c17cf677450b66e1b45f;p=lhc%2Fweb%2Fwiklou.git fix a =/== typo --- 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 ""; }