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:
366a358
)
fix bug 41043, return false on edit page form when section is invalid
author
aude
<aude.wiki@gmail.com>
Mon, 15 Oct 2012 19:08:58 +0000
(19:08 +0000)
committer
aude
<aude.wiki@gmail.com>
Mon, 15 Oct 2012 19:49:46 +0000
(19:49 +0000)
Change-Id: I62bc724ac33ed33368d5607bc96a6b57dc0d41cf
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