Fix PHP warning for users who cannot view filter details

This commit is contained in:
Andrew Garrett 2009-08-04 17:56:18 +00:00
parent bba9474c3e
commit f571050c72

View file

@ -61,6 +61,7 @@ class SpecialAbuseLog extends SpecialPage {
}
$this->mSearchTitle = $wgRequest->getText( 'wpSearchTitle' );
$this->mSearchFilter = null;
if ( $this->canSeeDetails() ) {
$this->mSearchFilter = $wgRequest->getIntOrNull( 'wpSearchFilter' );
}