Fix: Preview failed because of unknown variables
This commit is contained in:
parent
65516a1d3a
commit
3f8da997f4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue