mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:43:41 +00:00
Fix for missing fields
This commit is contained in:
parent
9a0d2c9e0c
commit
e5a0ff9572
1 changed files with 3 additions and 2 deletions
|
@ -342,7 +342,7 @@ class Item
|
|||
}
|
||||
}
|
||||
|
||||
if (array_key_exists('signed_text', $row) && array_key_exists('interaction', $row) && !is_null($row['interaction'])) {
|
||||
if (array_key_exists('interaction', $row)) {
|
||||
$row['signed_text'] = $row['interaction'];
|
||||
}
|
||||
|
||||
|
@ -672,7 +672,8 @@ class Item
|
|||
{
|
||||
$fields = [];
|
||||
|
||||
$fields['item'] = ['id', 'uid', 'parent', 'uri', 'parent-uri', 'thr-parent', 'guid',
|
||||
$fields['item'] = ['id', 'uid', 'parent', 'uri', 'parent-uri', 'thr-parent',
|
||||
'guid', 'uri-id', 'parent-uri-id', 'thr-parent-id',
|
||||
'contact-id', 'owner-id', 'author-id', 'type', 'wall', 'gravity', 'extid',
|
||||
'created', 'edited', 'commented', 'received', 'changed', 'psid',
|
||||
'resource-id', 'event-id', 'tag', 'attach', 'post-type', 'file',
|
||||
|
|
Loading…
Reference in a new issue