X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=e85c08e023c87a4a28c3771280c825cfa73067bf;hb=a609e545b66808f8a8e6c9d2f8dab08acd968880;hp=70c5c9a8b61f338d1d1d43fd75bfe2ac44b09a1e;hpb=8e05c282b197904cc5949014f82db2b912f286a9;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 70c5c9a8b6..e85c08e023 100644 --- a/mod/item.php +++ b/mod/item.php @@ -222,7 +222,7 @@ function item_insert(int $uid, array $request, bool $preview, string $return_pat DI::contentItem()->postProcessPost($post, $recipients); if (($post['private'] == Item::PRIVATE) && ($post['thr-parent-id'] != $post['uri-id'])) { - DI::contentItem()->copyPermissions($post['thr-parent-id'], $post['uri-id']); + DI::contentItem()->copyPermissions($post['thr-parent-id'], $post['uri-id'], $post['parent-uri-id']); } Logger::debug('post_complete');