diff --git a/public/userdetails.php b/public/userdetails.php index b3810c24..1a2b3504 100644 --- a/public/userdetails.php +++ b/public/userdetails.php @@ -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') || $user['id'] == $CURUSER['id'] || $user["privacy"] == "low") { tr_small($lang_userdetails['row_email'], "".$user['email']."", 1); } if (user_can('userprofile')) {