Skip to content

Commit b36ddc6

Browse files
authored
Merge pull request #89 from topcoder-platform/issues-561
Issues-561: Added options not to render Topcoder roles
2 parents b07f1ef + c4d4ba6 commit b36ddc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Topcoder/class.topcoder.plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,6 +2241,7 @@ function userAnchor($user, $cssClass = null, $options = null) {
22412241

22422242
Gdn::controller()->EventArguments['User'] = $user;
22432243
Gdn::controller()->EventArguments['IsTopcoderAdmin'] =$isTopcoderAdmin;
2244+
Gdn::controller()->EventArguments['HideRoles'] = val('HideRoles', $options, false);
22442245
Gdn::controller()->EventArguments['Text'] =& $text;
22452246
Gdn::controller()->EventArguments['Attributes'] =& $attributes;
22462247
Gdn::controller()->fireEvent('UserAnchor');

0 commit comments

Comments
 (0)