aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2019-03-01 10:50:10 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2019-03-01 10:50:10 -0500
commit5febc3e07dd1c1aeda68c09b4092d5d4219f39b5 (patch)
treef50824158037ba70998cf80de6576b0cecb913b9 /include
parentde7f2eef47b06d2711473e50efd29ae12110e459 (diff)
downloadvolse-hubzilla-5febc3e07dd1c1aeda68c09b4092d5d4219f39b5.tar.gz
volse-hubzilla-5febc3e07dd1c1aeda68c09b4092d5d4219f39b5.tar.bz2
volse-hubzilla-5febc3e07dd1c1aeda68c09b4092d5d4219f39b5.zip
Use sender hash
Diffstat (limited to 'include')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 3b089831b..c9c01103c 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1840,7 +1840,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
intval($channel['channel_id'])
);
if ($parent) {
- $allowed = can_comment_on_post($d['hash'],$parent[0]);
+ $allowed = can_comment_on_post($sender['hash'],$parent[0]);
}
}