mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:35:26 +00:00
correct the permissions on profile page
This commit is contained in:
parent
9e988afa1f
commit
2721d58a1c
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ function advanced_profile(&$a) {
|
||||||
if($a->profile['gender']) $profile['gender'] = array( t('Gender:'), $a->profile['gender'] );
|
if($a->profile['gender']) $profile['gender'] = array( t('Gender:'), $a->profile['gender'] );
|
||||||
|
|
||||||
$ob_hash = get_observer_hash();
|
$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['canlike'] = true;
|
||||||
$profile['likethis'] = t('Like this channel');
|
$profile['likethis'] = t('Like this channel');
|
||||||
$profile['profile_guid'] = $a->profile['profile_guid'];
|
$profile['profile_guid'] = $a->profile['profile_guid'];
|
||||||
|
|
Loading…
Reference in a new issue