From e5a0ff9572db67952fc2bd601b17a36e45896898 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 15 Apr 2020 05:11:45 +0000 Subject: [PATCH] Fix for missing fields --- src/Model/Item.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index b9c01809f..267ac8936 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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',