Fix notice "Undefined index: gravity"

2022.09-rc
Michael 2020-09-20 04:49:48 +00:00
rodzic 722aada460
commit 1898c0c351
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -487,6 +487,10 @@ class Receiver
$object_data['thread-completion'] = true;
$item = ActivityPub\Processor::createItem($object_data);
if (empty($item)) {
return;
}
$item['post-type'] = Item::PT_ANNOUNCEMENT;
ActivityPub\Processor::postItem($object_data, $item);