Index: trunk/phase3/includes/api/ApiQueryAllUsers.php |
— | — | @@ -210,7 +210,8 @@ |
211 | 211 | $lastUserData['rights'] = User::getGroupPermissions( User::getImplicitGroups() ); |
212 | 212 | } |
213 | 213 | |
214 | | - $lastUserData['rights'] = array_merge( $lastUserData['rights'], User::getGroupPermissions( array( $row->ug_group2 ) ) ); |
| 214 | + $lastUserData['rights'] = array_unique( array_merge( $lastUserData['rights'], |
| 215 | + User::getGroupPermissions( array( $row->ug_group2 ) ) ) ); |
215 | 216 | $result->setIndexedTagName( $lastUserData['rights'], 'r' ); |
216 | 217 | } |
217 | 218 | } |