mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Fix PHP warning for users who cannot view filter details
This commit is contained in:
parent
bba9474c3e
commit
f571050c72
|
@ -61,6 +61,7 @@ class SpecialAbuseLog extends SpecialPage {
|
|||
}
|
||||
|
||||
$this->mSearchTitle = $wgRequest->getText( 'wpSearchTitle' );
|
||||
$this->mSearchFilter = null;
|
||||
if ( $this->canSeeDetails() ) {
|
||||
$this->mSearchFilter = $wgRequest->getIntOrNull( 'wpSearchFilter' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue