dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8b9c853
)
Merge "fix bug 41043, return false on edit page form when section is invalid"
author
Reedy
<reedy@wikimedia.org>
Mon, 15 Oct 2012 23:40:57 +0000
(23:40 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 15 Oct 2012 23:40:57 +0000
(23:40 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
cc41b02
..
4a1e517
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-776,6
+776,9
@@
class EditPage {
$this->edittime = $this->mArticle->getTimestamp();
$content = $this->getContentObject( false ); #TODO: track content object?!
+ if ( $content === false ) {
+ return false;
+ }
$this->textbox1 = $this->toEditText( $content );
// activate checkboxes if user wants them to be always active