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:
b8d5d54
)
(bug 5367) Logic error in blank summaries handler caused the hash to keep being regen...
author
Rob Church
<robchurch@users.mediawiki.org>
Tue, 28 Mar 2006 00:03:23 +0000
(
00:03
+0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Tue, 28 Mar 2006 00:03:23 +0000
(
00:03
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
3e8c46e
..
19a15b7
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1083,7
+1083,7
@@
END
# For a bit more sophisticated detection of blank summaries, hash the
# automatic one and pass that in a hidden field.
- $autosumm = md5( $this->summary );
+ $autosumm =
$this->autoSumm ? $this->autoSumm :
md5( $this->summary );
$wgOut->addHTML( "<input type=\"hidden\" name=\"wpAutoSummary\" value=\"$autosumm\" />\n" );
if ( $this->isConflict ) {