mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
user details page show email to self
This commit is contained in:
@@ -216,7 +216,7 @@ if (($user["privacy"] != "strong") OR (user_can('prfmanage')) || $CURUSER['id']
|
|||||||
if ($where_tweak == "yes") {
|
if ($where_tweak == "yes") {
|
||||||
tr_small($lang_userdetails['row_last_seen_location'], $user['page'], 1);
|
tr_small($lang_userdetails['row_last_seen_location'], $user['page'], 1);
|
||||||
}
|
}
|
||||||
if (user_can('userprofile') OR $user["privacy"] == "low") {
|
if (user_can('userprofile') || $user['id'] == $CURUSER['id'] || $user["privacy"] == "low") {
|
||||||
tr_small($lang_userdetails['row_email'], "<a href=\"mailto:".$user['email']."\">".$user['email']."</a>", 1);
|
tr_small($lang_userdetails['row_email'], "<a href=\"mailto:".$user['email']."\">".$user['email']."</a>", 1);
|
||||||
}
|
}
|
||||||
if (user_can('userprofile')) {
|
if (user_can('userprofile')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user