From 4b2acb74d50b2e7d151327ea2f76e341df44964f Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 6 Dec 2019 04:34:20 +0000 Subject: [PATCH] Fix a notice about an undefined "attach" index --- src/Protocol/Diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index c52213972e..7704d3f07b 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2567,7 +2567,7 @@ class Diaspora } if ($stored) { - $fields = ['body', 'tag', 'app', 'created', 'object-type', 'uri', 'guid', + $fields = ['body', 'title', 'attach', 'tag', 'app', 'created', 'object-type', 'uri', 'guid', 'author-name', 'author-link', 'author-avatar']; $condition = ['guid' => $guid, 'visible' => true, 'deleted' => false, 'private' => false]; $item = Item::selectFirst($fields, $condition);