Fix some warnings on item creation

This commit is contained in:
Michael 2023-01-09 15:55:35 +00:00
parent e6f6087cac
commit cd3dbad2a8
4 changed files with 28 additions and 4 deletions

View file

@ -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);