diff --git a/mod/profile.php b/mod/profile.php index 6923b0923..31b634013 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -89,7 +89,8 @@ function profile_content(&$a, $update = false) { $a->profile['profile_uid'] = $_SESSION['profile_uid']; } else { - $o .= ''; + if($a->profile['uid'] == get_uid()) + $o .= ''; // set the uid so we can pick it up during update $_SESSION['profile_uid'] = $a->profile['uid']; }