show new_member page only on our own profile

This commit is contained in:
Friendika 2011-06-03 06:22:39 -07:00
parent 32bebdfa7e
commit 86df81352f

View file

@ -126,7 +126,7 @@ function profile_content(&$a, $update = 0) {
return $o;
}
if(x($_SESSION,'new_member') && $_SESSION['new_member'])
if(x($_SESSION,'new_member') && $_SESSION['new_member'] && $is_owner)
$o .= '<a href="newmember">' . t('Tips for New Members') . '</a>' . EOL;
$commpage = (($a->profile['page-flags'] == PAGE_COMMUNITY) ? true : false);