From 60df5636ccae6ce82921a37d8213ecd13840ed6c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 11 Mar 2010 21:25:33 +0000 Subject: [PATCH] Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all public logs" excerpt. --- includes/specials/SpecialBlockip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index 7e2a634015..316db3606f 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -642,7 +642,7 @@ class IPBlockForm { ); // Add suppression block entries if allowed - if( $wgUser->isAllowed( 'hideuser' ) ) { + if( $wgUser->isAllowed( 'suppressionlog' ) ) { LogEventsList::showLogExtract( $out, 'suppress', $title->getPrefixedText(), '', array( 'lim' => 10, -- 2.20.1