fix notice: uninitialised var
This commit is contained in:
parent
b7c9b17b38
commit
7da809b1c2
1 changed files with 2 additions and 2 deletions
|
|
@ -272,9 +272,9 @@ class EditPage {
|
|||
|
||||
if( $this->section != '' ) {
|
||||
if( $this->section == 'new' ) {
|
||||
$s.=wfMsg('editingcomment', $this->mTitle->getPrefixedText() );
|
||||
$s = wfMsg('editingcomment', $this->mTitle->getPrefixedText() );
|
||||
} else {
|
||||
$s.=wfMsg('editingsection', $this->mTitle->getPrefixedText() );
|
||||
$s = wfMsg('editingsection', $this->mTitle->getPrefixedText() );
|
||||
}
|
||||
if(!$this->preview) {
|
||||
$sectitle=preg_match("/^=+(.*?)=+/mi",
|
||||
|
|
|
|||
Loading…
Reference in a new issue