From: Mike Macgirvin Date: Sun, 19 Sep 2010 04:29:22 +0000 (-0700) Subject: don't set tab to selected if visiting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=971b7d7519b4a1e6503bbcf8c0bb6312b8859d22;p=friendica.git don't set tab to selected if visiting --- diff --git a/mod/profile.php b/mod/profile.php index 6923b09232..31b634013c 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']; }