aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 14:27:40 -0700
committerfriendica <info@friendica.com>2013-08-01 14:27:40 -0700
commit85c7d7165fadd2a569fafda824e4ac83af36ea12 (patch)
treed2c8a17199248a2059fcc72290fde064044e6616 /mod/item.php
parent2a848c0d3704ac7a4dbce71947c5cb1b362dd749 (diff)
downloadvolse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.tar.gz
volse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.tar.bz2
volse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.zip
yhis should fix the privacy leak - as well as non-private replies to private posts
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 990acd2f0..dc8ee5015 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -684,7 +684,7 @@ function item_post(&$a) {
dbesc($parent_item['allow_gid']),
dbesc($parent_item['deny_cid']),
dbesc($parent_item['deny_gid']),
- intval($parent_item['private']),
+ intval($parent_item['item_private']),
intval($post_id)
);