From 15ffb70c5f631d85b9a79a12b847227bd222f040 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 29 May 2019 19:57:18 +0200 Subject: [PATCH] Adding `item_id` to Item::ITEM_FIELDLIST see https://github.com/friendica/friendica/issues/6918#issuecomment-493515358 --- src/Model/Item.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index a01ff61143..865aa4ffc7 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -11,9 +11,9 @@ use Friendica\Content\Text\BBCode; use Friendica\Content\Text\HTML; use Friendica\Core\Config; use Friendica\Core\Hook; +use Friendica\Core\L10n; use Friendica\Core\Lock; use Friendica\Core\Logger; -use Friendica\Core\L10n; use Friendica\Core\PConfig; use Friendica\Core\Protocol; use Friendica\Core\Renderer; @@ -24,10 +24,10 @@ use Friendica\Protocol\Diaspora; use Friendica\Protocol\OStatus; use Friendica\Util\DateTimeFormat; use Friendica\Util\Map; -use Friendica\Util\XML; +use Friendica\Util\Network; use Friendica\Util\Security; use Friendica\Util\Strings; -use Friendica\Util\Network; +use Friendica\Util\XML; use Text_LanguageDetect; class Item extends BaseObject @@ -82,7 +82,7 @@ class Item extends BaseObject 'contact-id', 'type', 'wall', 'gravity', 'extid', 'icid', 'iaid', 'psid', 'created', 'edited', 'commented', 'received', 'changed', 'verb', 'postopts', 'plink', 'resource-id', 'event-id', 'tag', 'attach', 'inform', - 'file', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'post-type', + 'file', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'item_id', 'post-type', 'private', 'pubmail', 'moderated', 'visible', 'starred', 'bookmark', 'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', 'network', 'title', 'content-warning', 'body', 'location', 'coord', 'app',