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:
cb7647f
)
Improve hidden field checks for bug 1181
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 13 Oct 2008 15:40:02 +0000
(15:40 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 13 Oct 2008 15:40:02 +0000
(15:40 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
bf43177
..
ff9d79a
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-574,7
+574,7
@@
class EditPage {
$this->scrolltop = $request->getIntOrNull( 'wpScrolltop' );
- if ( is_null(
$this->edittime )
) {
+ if ( is_null(
$this->section) || !$this->edittime || !$this->starttime
) {
# If the form is incomplete, force to preview.
wfDebug( "$fname: Form data appears to be incomplete\n" );
wfDebug( "POST DATA: " . var_export( $_POST, true ) . "\n" );