mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
Fix "The invitation system is closed and cannot purchase invitations" (#170)
* Invite system shutdown Can't buy Invite * Fix the problem that user details cannot be viewed * Revert "Invite system shutdown Can't buy Invite" This reverts commit d013970f4dfc7ede0515cede3bc780cbfb56f0df. * Fix "The invitation system is closed and cannot purchase invitations" * Set ratio to '0' to disable the purchase invite. * Update lang_settings.php
This commit is contained in:
@@ -216,7 +216,7 @@ if (($user["privacy"] != "strong") OR (user_can('prfmanage')) || $CURUSER['id']
|
||||
if ($where_tweak == "yes") {
|
||||
tr_small($lang_userdetails['row_last_seen_location'], $user['page'], 1);
|
||||
}
|
||||
if (user_can('userprofile') OR $user["privacy"] == "low") {
|
||||
if (user_can('userprofile') OR $user["privacy"] == "low" || $user["id"] == $CURUSER["id"]) {
|
||||
tr_small($lang_userdetails['row_email'], "<a href=\"mailto:".$user['email']."\">".$user['email']."</a>", 1);
|
||||
}
|
||||
if (user_can('userprofile')) {
|
||||
|
||||
Reference in New Issue
Block a user