mirror of
https://github.com/friendica/friendica
synced 2024-11-17 20:23:40 +00:00
Fix warning: Undefined array key "post-reason"
This commit is contained in:
parent
49a0b0fc3c
commit
6e0118f3fe
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ function item_process(array $post, array $request, bool $preview, string $return
|
|||
$post['body'] = BBCode::removeSharedData(Item::setHashtags($post['body']));
|
||||
$post['writable'] = true;
|
||||
$post['sensitive'] = false;
|
||||
$post['post-reason'] = Item::PR_LOCAL;
|
||||
|
||||
$o = DI::conversation()->render([$post], Conversation::MODE_SEARCH, false, true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue