mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-14 19:31:29 +00:00
SpecialNuke: Null coalescence in execute()
Bug: T313146 Change-Id: I40850e2f126728ab09ab89fc666241a7f041c7ee
This commit is contained in:
parent
79747c18e7
commit
cbbf2cc376
|
@ -59,7 +59,7 @@ class SpecialNuke extends SpecialPage {
|
|||
}
|
||||
|
||||
$req = $this->getRequest();
|
||||
$target = trim( $req->getText( 'target', $par ) );
|
||||
$target = trim( $req->getText( 'target', $par ?? '' ) );
|
||||
|
||||
// Normalise name
|
||||
if ( $target !== '' ) {
|
||||
|
|
Loading…
Reference in a new issue