aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-03-02 15:00:20 +0100
committerMario <mario@mariovavti.com>2019-03-02 15:00:20 +0100
commit4750e15c20ffde5070c09b632e351da2f9281a83 (patch)
tree5d531d137fe273ffb8d8f8328c1190aeb22be224
parent7fa874d9ef5c5c552821a9df95880992f267349d (diff)
parent5febc3e07dd1c1aeda68c09b4092d5d4219f39b5 (diff)
downloadvolse-hubzilla-4750e15c20ffde5070c09b632e351da2f9281a83.tar.gz
volse-hubzilla-4750e15c20ffde5070c09b632e351da2f9281a83.tar.bz2
volse-hubzilla-4750e15c20ffde5070c09b632e351da2f9281a83.zip
Merge branch 'patch-20190301a' into 'dev'
Use sender hash See merge request hubzilla/core!1535
-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]);
}
}