]> git.mxchange.org Git - friendica.git/commitdiff
Add a couple of missing fields in Content\Item->localize
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 8 Oct 2023 12:55:48 +0000 (08:55 -0400)
committerJakobus Schürz <jakobus.schuerz@home.arpa>
Mon, 9 Oct 2023 18:21:01 +0000 (20:21 +0200)
- Address "Undefined array key "author-alias"" in Content\Item->localize:323

src/Content/Item.php

index c94ec1299b3f5bc0bb9482cc1e8844cc2b91e705..c604f26215451afdca88027c104f7fcfa8d7909a 100644 (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']]);