fix bug 41043, return false on edit page form when section is invalid
Change-Id: I62bc724ac33ed33368d5607bc96a6b57dc0d41cf
This commit is contained in:
parent
366a35839f
commit
bf41f9d117
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue