aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php
index f4feca279..916faf230 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -149,7 +149,7 @@ function like_content(&$a) {
$perms = get_all_perms($owner_uid,$observer['xchan_hash']);
- if(! ($perms['post_wall'] && $perms['view_profile'])) {
+ if(! ($perms['post_like'] && $perms['view_profile'])) {
if($interactive) {
notice( t('Permission denied.') . EOL);
return $o;