diff options
author | Friendika <info@friendika.com> | 2011-06-03 06:22:39 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-03 06:22:39 -0700 |
commit | 86df81352f6d9afdb5f30e59fa138a69ac20e222 (patch) | |
tree | 6f57ff2284856f4dfa34a484c0e4261b3a755235 /mod | |
parent | 32bebdfa7e6cf4b73eeabba0377e9fcb5afea27c (diff) | |
download | volse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.tar.gz volse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.tar.bz2 volse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.zip |
show new_member page only on our own profile
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php index ea84c3822..7dfdb49de 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -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); |