comment permission fix

This commit is contained in:
zotlabs 2019-01-20 15:09:35 -08:00
parent 52305ca91b
commit 1b5dd8bbd7

View File

@ -1496,7 +1496,7 @@ class Libzot {
intval($channel['channel_id']) intval($channel['channel_id'])
); );
if ($parent) { if ($parent) {
$allowed = can_comment_on_post($d,$parent[0]); $allowed = can_comment_on_post($sender,$parent[0]);
} }
} }
if($request) { if($request) {