mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-12 08:49:28 +00:00
Workaround for undefined varible access related to r49941 -- $this->mIsFirst in the pager object isn't defined until after we've run the query, so we can't request the navigation bar until afterwards.
I'm not sure if this is a symptom of wider problems...
This commit is contained in:
parent
3a4fee82ea
commit
9def0c2b91
|
@ -109,8 +109,9 @@ class SpecialAbuseLog extends SpecialPage {
|
|||
|
||||
$pager = new AbuseLogPager( $this, $conds );
|
||||
|
||||
$body = Xml::tags( 'ul', null, $pager->getBody() );
|
||||
$wgOut->addHTML( $pager->getNavigationBar() .
|
||||
Xml::tags( 'ul', null, $pager->getBody() ) .
|
||||
$body .
|
||||
$pager->getNavigationBar() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue