From: Aryeh Gregor Date: Mon, 31 Mar 2008 14:17:59 +0000 (+0000) Subject: Bug pointed out by siebrand: should use the messages for the group, not for the group... X-Git-Tag: 1.31.0-rc.0~48716 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=dbbc0761b9d56dfe57161b7c2eec99a48fb89129;p=lhc%2Fweb%2Fwiklou.git Bug pointed out by siebrand: should use the messages for the group, not for the group member (e.g., "bureaucrats" not "bureaucrat", or conceivable "staff" not "staff member"). --- diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index 23fb464c54..29a62e8692 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -387,7 +387,7 @@ class UserrightsPage extends SpecialPage { private static function buildGroupLink( $group ) { static $cache = array(); if( !isset( $cache[$group] ) ) - $cache[$group] = User::makeGroupLinkHtml( $group, User::getGroupMember( $group ) ); + $cache[$group] = User::makeGroupLinkHtml( $group, User::getGroupName( $group ) ); return $cache[$group]; }