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
parent 1506068f7c
commit 298973a7e3

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']]);