aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-03 06:22:39 -0700
committerFriendika <info@friendika.com>2011-06-03 06:22:39 -0700
commit86df81352f6d9afdb5f30e59fa138a69ac20e222 (patch)
tree6f57ff2284856f4dfa34a484c0e4261b3a755235
parent32bebdfa7e6cf4b73eeabba0377e9fcb5afea27c (diff)
downloadvolse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.tar.gz
volse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.tar.bz2
volse-hubzilla-86df81352f6d9afdb5f30e59fa138a69ac20e222.zip
show new_member page only on our own profile
-rw-r--r--mod/profile.php2
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);