From: Philipp Holzer <admin+github@philipp.info>
Date: Wed, 29 May 2019 19:48:03 +0000 (+0200)
Subject: Bugfix - `author-network` (adding to unset list during insert)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=694cd82d0e406997e8e46f7f2e08eb4505faee3f;p=friendica.git

Bugfix - `author-network` (adding to unset list during insert)
---

diff --git a/src/Model/Item.php b/src/Model/Item.php
index cf4f3805af..8ae412cd0a 100644
--- a/src/Model/Item.php
+++ b/src/Model/Item.php
@@ -87,7 +87,7 @@ class Item extends BaseObject
 			'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', 'network',
 			'title', 'content-warning', 'body', 'location', 'coord', 'app',
 			'rendered-hash', 'rendered-html', 'object-type', 'object', 'target-type', 'target',
-			'author-id', 'author-link', 'author-name', 'author-avatar',
+			'author-id', 'author-link', 'author-name', 'author-avatar', 'author-network',
 			'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
 
 	// Never reorder or remove entries from this list. Just add new ones at the end, if needed.
@@ -1721,6 +1721,7 @@ class Item extends BaseObject
 		unset($item['author-link']);
 		unset($item['author-name']);
 		unset($item['author-avatar']);
+		unset($item['author-network']);
 
 		unset($item['owner-link']);
 		unset($item['owner-name']);