show new_member page only on our own profile
This commit is contained in:
parent
32bebdfa7e
commit
86df81352f
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue