From: Michael Date: Fri, 6 Dec 2019 04:34:20 +0000 (+0000) Subject: Fix a notice about an undefined "attach" index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b2acb74d50b2e7d151327ea2f76e341df44964f;p=friendica.git Fix a notice about an undefined "attach" index --- 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);