Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -395,7 +395,8 @@ |
396 | 396 | } |
397 | 397 | |
398 | 398 | if( $this->BlockHideName ) { |
399 | | - if( !$userId ) { |
| 399 | + // Recheck params here... |
| 400 | + if( !$userId || !$wgUser->isAllowed('hideuser') ) { |
400 | 401 | // IP users should not be hidden |
401 | 402 | $this->BlockHideName = false; |
402 | 403 | } else if( $expiry !== 'infinity' ) { |