Merge pull request #11523 from annando/preview
Fix: Preview failed because of unknown variables
This commit is contained in:
commit
9f1cc2fb67
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