mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 08:44:27 +02:00
Fix some warnings on item creation
This commit is contained in:
parent
e6f6087cac
commit
cd3dbad2a8
4 changed files with 28 additions and 4 deletions
|
@ -2079,6 +2079,7 @@ class DFRN
|
|||
// This is my contact on another system, but it's really me.
|
||||
// Turn this into a wall post.
|
||||
$notify = Item::isRemoteSelf($importer, $item);
|
||||
$item['wall'] = (bool)$notify;
|
||||
|
||||
$posted_id = Item::insert($item, $notify);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue