fix a =/== typo
authorErik Moeller <erik@users.mediawiki.org>
Wed, 12 May 2004 13:55:40 +0000 (13:55 +0000)
committerErik Moeller <erik@users.mediawiki.org>
Wed, 12 May 2004 13:55:40 +0000 (13:55 +0000)
includes/Parser.php

index 1cc8703..8116e3e 100644 (file)
@@ -1885,7 +1885,7 @@ class Parser
                $numMatches = preg_match_all( "/^(=+)(.*?)=+|^<h([1-6]).*?>(.*?)<\/h[1-6].*?>/mi",$text,$matches);
                
                # no headings: text cannot be collapsed
-               if( $numMatches = 0 ) {
+               if( $numMatches == 0 ) {
                        return "";
                }