X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=71793f14dc44a6bdc389b6fd1d052d921811a18a;hb=7789ea25079801ee1425368e9bf2f7ce80d16d88;hp=04e7c7c39c21240ba09915f94cfaebfb5ac3dd88;hpb=53e38b03130ea798bba44db44ccb7f331dc4b91d;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 04e7c7c39c..71793f14dc 100644 --- a/mod/item.php +++ b/mod/item.php @@ -614,7 +614,8 @@ function item_post(App $a) { $datarray['origin'] = $origin; $datarray['object'] = $object; - $datarray["uri-id"] = ItemURI::getIdByURI($datarray["uri"]); + $datarray['uri-id'] = ItemURI::getIdByURI($datarray['uri']); + $datarray['attachments'] = $_REQUEST['attachments'] ?? []; /* * These fields are for the convenience of addons...