sforkowany z mirror/friendica
Merge pull request #7910 from annando/notice
Fix a notice about an undefined "attach" index2022.09-rc
commit
03e2b04e8f
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue