Fix: Preview failed because of unknown variables

This commit is contained in:
Michael 2022-05-17 03:40:38 +00:00
parent 65516a1d3a
commit 3f8da997f4

View File

@ -623,7 +623,9 @@ function item_post(App $a) {
$datarray["author-network"] = Protocol::DFRN; $datarray["author-network"] = Protocol::DFRN;
$datarray["author-updated"] = ''; $datarray["author-updated"] = '';
$datarray["author-gsid"] = 0; $datarray["author-gsid"] = 0;
$datarray["author-uri-id"] = ItemURI::getIdByURI($datarray["author-link"]);
$datarray["owner-updated"] = ''; $datarray["owner-updated"] = '';
$datarray["has-media"] = false;
$o = DI::conversation()->create([array_merge($contact_record, $datarray)], 'search', false, true); $o = DI::conversation()->create([array_merge($contact_record, $datarray)], 'search', false, true);