aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-10 23:27:17 -0800
committerfriendica <info@friendica.com>2013-12-10 23:27:17 -0800
commit652959678f47b84830123df4fac8add31657b4c9 (patch)
tree8ed5be3886d3d2eac5765094ca89d9ee587bfd4b /include/identity.php
parent5279f3bf6f0a61ed925e91016e27cd345e0c8b75 (diff)
downloadvolse-hubzilla-652959678f47b84830123df4fac8add31657b4c9.tar.gz
volse-hubzilla-652959678f47b84830123df4fac8add31657b4c9.tar.bz2
volse-hubzilla-652959678f47b84830123df4fac8add31657b4c9.zip
cleanup and Comanchification of mod_profile
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index e22bb8645..b25594c87 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -868,6 +868,9 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) {
function advanced_profile(&$a) {
+ if(! perm_is_allowed($a->profile['profile_uid'],get_observer_hash(),'view_profile'))
+ return '';
+
$o = '';
$o .= '<h2>' . t('Profile') . '</h2>';