From 2721d58a1cb89557456ff6a68a9a0257682324d5 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 Jul 2014 22:07:23 -0700 Subject: correct the permissions on profile page --- include/identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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']; -- cgit v1.2.3