mirror of
https://github.com/friendica/friendica
synced 2024-12-24 02:40:16 +00:00
Merge pull request #7910 from annando/notice
Fix a notice about an undefined "attach" index
This commit is contained in:
commit
03e2b04e8f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue