diff --git a/library/includes/ucp/viewprofile.php b/library/includes/ucp/viewprofile.php index fb83d4aa..2e341da5 100644 --- a/library/includes/ucp/viewprofile.php +++ b/library/includes/ucp/viewprofile.php @@ -130,7 +130,7 @@ $template->assign_vars(array( 'TRAF_STATS' => !(IS_AM || $profile_user_id), )); -if (IS_ADMIN) +if (IS_AM) { $group_membership = array(); $sql = " @@ -169,12 +169,6 @@ if (IS_ADMIN) 'GROUP_MEMBERSHIP_TXT' => $group_membership, )); } -else if (IS_MOD) -{ - $template->assign_vars(array( - 'SHOW_GROUP_MEMBERSHIP' => ($profiledata['user_level'] != USER), - )); -} // Show users torrent-profile if (IS_AM || $profile_user_id || !bf($profiledata['user_opt'], 'user_opt', 'user_dls'))