1 Nov 2010 01:03
SVN: [75766] trunk/phase3/includes/specials/SpecialIpblocklist.php
<reedy <at> svn.wikimedia.org>
2010-11-01 00:03:10 GMT
2010-11-01 00:03:10 GMT
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/75766 Revision: 75766 Author: reedy Date: 2010-11-01 00:03:09 +0000 (Mon, 01 Nov 2010) Log Message: ----------- Fixup undefined $this->id Fix assignment in conditional Modified Paths: -------------- trunk/phase3/includes/specials/SpecialIpblocklist.php Modified: trunk/phase3/includes/specials/SpecialIpblocklist.php =================================================================== --- trunk/phase3/includes/specials/SpecialIpblocklist.php 2010-10-31 23:54:30 UTC (rev 75765) +++ trunk/phase3/includes/specials/SpecialIpblocklist.php 2010-11-01 00:03:09 UTC (rev 75766) <at> <at> -71,10 +71,10 <at> <at> # bug 15810: blocked admins should have limited access here if ( $wgUser->isBlocked() ) { - if ( $id ) { + if ( $this->id ) { # This doesn't pick up on autoblocks, but admins # should have the ipblock-exempt permission anyway - $block = Block::newFromID( $id ); + $block = Block::newFromID( $this->id ); $user = User::newFromName( $block->mAddress );(Continue reading)
RSS Feed