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:
09f46cf
)
Fix notice
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 9 Apr 2004 09:29:47 +0000
(09:29 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 9 Apr 2004 09:29:47 +0000
(09:29 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
20d651c
..
999c65d
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-225,7
+225,9
@@
class EditPage {
$sectitle=preg_match("/^=+(.*?)=+/mi",
$this->textbox1,
$matches);
- if($matches[1]) { $this->summary = "/* ". trim($matches[1])." */ "; }
+ if( !empty( $matches[1] ) {
+ $this->summary = "/* ". trim($matches[1])." */ ";
+ }
}
}
$wgOut->setPageTitle( $s );