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
b4afb5fa5b
commit
2673c667b5
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ class Item
|
||||||
|
|
||||||
if ($this->activity->match($item['verb'], Activity::TAG)) {
|
if ($this->activity->match($item['verb'], Activity::TAG)) {
|
||||||
$fields = [
|
$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'
|
'verb', 'object-type', 'resource-id', 'body', 'plink'
|
||||||
];
|
];
|
||||||
$obj = Post::selectFirst($fields, ['uri' => $item['parent-uri']]);
|
$obj = Post::selectFirst($fields, ['uri' => $item['parent-uri']]);
|
||||||
|
|
Loading…
Reference in a new issue