Index: trunk/phase3/includes/Title.php |
— | — | @@ -1168,7 +1168,7 @@ |
1169 | 1169 | $groups = array(); |
1170 | 1170 | global $wgGroupPermissions; |
1171 | 1171 | foreach( $wgGroupPermissions as $key => $value ) { |
1172 | | - if( isset( $value[$permission] ) && $value[$permission] == true ) { |
| 1172 | + if( isset( $value[$action] ) && $value[$action] == true ) { |
1173 | 1173 | $groupName = User::getGroupName( $key ); |
1174 | 1174 | $groupPage = User::getGroupPage( $key ); |
1175 | 1175 | if( $groupPage ) { |