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:
parent
1506068f7c
commit
298973a7e3
|
@ -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']]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user