aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-01-20 15:09:35 -0800
committerzotlabs <mike@macgirvin.com>2019-01-20 15:09:35 -0800
commit1b5dd8bbd7a751cf84f65403197d0dae5be4a8a0 (patch)
tree8d69c7e79c5dc0ba8225ff5481b4fef6068f1eb8 /Zotlabs/Lib
parent52305ca91b49f8a8f0380234879ac4e5be1705fb (diff)
downloadvolse-hubzilla-1b5dd8bbd7a751cf84f65403197d0dae5be4a8a0.tar.gz
volse-hubzilla-1b5dd8bbd7a751cf84f65403197d0dae5be4a8a0.tar.bz2
volse-hubzilla-1b5dd8bbd7a751cf84f65403197d0dae5be4a8a0.zip
comment permission fix
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 7dc6b411d..00dd13afb 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1496,7 +1496,7 @@ class Libzot {
intval($channel['channel_id'])
);
if ($parent) {
- $allowed = can_comment_on_post($d,$parent[0]);
+ $allowed = can_comment_on_post($sender,$parent[0]);
}
}
if($request) {