From 0cb5f009b483ff570ded4570bb45023573531494 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 15 Nov 2015 20:52:50 -0800 Subject: tag_deliver of an edit to an already uplinked item wasn't resetting permissions and ownership bits before starting delivery chain on the edit. --- include/items.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index fd23b7e6b..43bbdda28 100755 --- a/include/items.php +++ b/include/items.php @@ -2962,9 +2962,12 @@ function tag_deliver($uid, $item_id) { if(($item['source_xchan']) && intval($item['item_uplink']) && intval($item['item_thread_top']) && ($item['edited'] != $item['created'])) { + // this is an update (edit) to a post which was already processed by us and has a second delivery chain // Just start the second delivery chain to deliver the updated post - proc_run('php','include/notifier.php','tgroup',$item['id']); + // after resetting ownership and permission bits + + start_delivery_chain($u[0], $item, $item_id, 0); return; } -- cgit v1.2.3