aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-17 22:07:23 -0700
committerfriendica <info@friendica.com>2014-07-17 22:07:23 -0700
commit2721d58a1cb89557456ff6a68a9a0257682324d5 (patch)
tree597dd0bbf768f79117e1f0ed907527f53cdcbcc7 /include
parent9e988afa1f306b0db2a18ee8e0c8c1fc72c3bcd2 (diff)
downloadvolse-hubzilla-2721d58a1cb89557456ff6a68a9a0257682324d5.tar.gz
volse-hubzilla-2721d58a1cb89557456ff6a68a9a0257682324d5.tar.bz2
volse-hubzilla-2721d58a1cb89557456ff6a68a9a0257682324d5.zip
correct the permissions on profile page
Diffstat (limited to 'include')
-rw-r--r--include/identity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index e210b37ab..c4134d3e8 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -952,7 +952,7 @@ function advanced_profile(&$a) {
if($a->profile['gender']) $profile['gender'] = array( t('Gender:'), $a->profile['gender'] );
$ob_hash = get_observer_hash();
- if($ob_hash && perm_is_allowed($a->profile['profile_uid'],$ob_hash,'post_wall')) {
+ if($ob_hash && perm_is_allowed($a->profile['profile_uid'],$ob_hash,'post_like')) {
$profile['canlike'] = true;
$profile['likethis'] = t('Like this channel');
$profile['profile_guid'] = $a->profile['profile_guid'];