]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Fix a notice about an undefined "attach" index
[friendica.git] / 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);