Skip to content

Commit c4d4ba6

Browse files
committed
Issues-561: Added options not to render Topcoder roles
1 parent b07f1ef commit c4d4ba6

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)