]> git.mxchange.org Git - friendica.git/commitdiff
Fix a notice about an undefined "attach" index
authorMichael <heluecht@pirati.ca>
Fri, 6 Dec 2019 04:34:20 +0000 (04:34 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 6 Dec 2019 04:34:20 +0000 (04:34 +0000)
src/Protocol/Diaspora.php

index c52213972e1947063b38b581aea4709aa6abe876..7704d3f07b4e7aae14ce30626fbd0a13277a8526 100644 (file)
@@ -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);