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:
Brion Vibber 2009-04-28 19:30:50 +00:00
parent 3a4fee82ea
commit 9def0c2b91

View file

@ -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() );
}