EditPage::newSectionSummary should return a value in all code paths
Followup I72890c06. Change-Id: Id63c3f3d2c180d193c37091dfe5f1c56e3edb45f
This commit is contained in:
parent
6f02280988
commit
b62f3428de
1 changed files with 1 additions and 2 deletions
|
|
@ -1468,9 +1468,8 @@ class EditPage {
|
|||
$cleanSummary = $wgParser->stripSectionName( $this->summary );
|
||||
return wfMessage( 'newsectionsummary' )
|
||||
->rawParams( $cleanSummary )->inContentLanguage()->text();
|
||||
} else {
|
||||
return $this->summary;
|
||||
}
|
||||
return $this->summary;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue