Browse Source

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

pull/7206/head
Philipp Holzer 2 years ago
parent
commit
694cd82d0e
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Model/Item.php

+ 2
- 1
src/Model/Item.php View File

@ -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']);


Loading…
Cancel
Save