From: Michael Date: Tue, 17 May 2022 03:40:38 +0000 (+0000) Subject: Fix: Preview failed because of unknown variables X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f8da997f476dc63bdc2b3af6c210461341c3dec;p=friendica.git Fix: Preview failed because of unknown variables --- diff --git a/mod/item.php b/mod/item.php index 71c1568f6d..adfdc4cb03 100644 --- a/mod/item.php +++ b/mod/item.php @@ -623,7 +623,9 @@ function item_post(App $a) { $datarray["author-network"] = Protocol::DFRN; $datarray["author-updated"] = ''; $datarray["author-gsid"] = 0; + $datarray["author-uri-id"] = ItemURI::getIdByURI($datarray["author-link"]); $datarray["owner-updated"] = ''; + $datarray["has-media"] = false; $o = DI::conversation()->create([array_merge($contact_record, $datarray)], 'search', false, true);