https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a0b0f
)
Fix warning: Undefined array key "post-reason"
author
Michael
<heluecht@pirati.ca>
Mon, 15 Apr 2024 03:10:15 +0000
(
03:10
+0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 15 Apr 2024 03:10:15 +0000
(
03:10
+0000)
mod/item.php
patch
|
blob
|
history
diff --git
a/mod/item.php
b/mod/item.php
index
5d20cc0
..
c34c4ec
100644
(file)
--- a/
mod/item.php
+++ b/
mod/item.php
@@
-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);