SpecialNuke: Null coalescence in execute()

Bug: T313146
Change-Id: I40850e2f126728ab09ab89fc666241a7f041c7ee
This commit is contained in:
Reedy 2022-07-17 20:43:16 +01:00
parent 79747c18e7
commit cbbf2cc376

View file

@ -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 !== '' ) {