dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
472272d
)
fix a =/== typo
author
Erik Moeller
<erik@users.mediawiki.org>
Wed, 12 May 2004 13:55:40 +0000
(13:55 +0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Wed, 12 May 2004 13:55:40 +0000
(13:55 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
1cc8703
..
8116e3e
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-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 "";
}