tag_deliver of an edit to an already uplinked item wasn't resetting permissions and ownership bits before starting delivery chain on the edit.
This commit is contained in:
parent
c7b2ec8bba
commit
0cb5f009b4
@ -2962,9 +2962,12 @@ function tag_deliver($uid, $item_id) {
|
|||||||
|
|
||||||
if(($item['source_xchan']) && intval($item['item_uplink'])
|
if(($item['source_xchan']) && intval($item['item_uplink'])
|
||||||
&& intval($item['item_thread_top']) && ($item['edited'] != $item['created'])) {
|
&& 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
|
// 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
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user