Add a couple of missing fields in Content\Item->localize

- Address "Undefined array key "author-alias"" in Content\Item->localize:323
This commit is contained in:
Hypolite Petovan 2023-10-08 08:55:48 -04:00 committed by Jakobus Schürz
parent b4afb5fa5b
commit 2673c667b5

View File

@ -297,7 +297,7 @@ class Item
if ($this->activity->match($item['verb'], Activity::TAG)) {
$fields = [
'author-id', 'author-link', 'author-name', 'author-network',
'author-id', 'author-link', 'author-name', 'author-network', 'author-link', 'author-alias',
'verb', 'object-type', 'resource-id', 'body', 'plink'
];
$obj = Post::selectFirst($fields, ['uri' => $item['parent-uri']]);