X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fattachmentlist.php;h=a93a6842bbe32648c009f735a0fab7d325bbf5f6;hb=297d603febbb1900b395e1ddaf970f61f259cdad;hp=cf7c9acc147fe8ab24ddc0c525f5b6c5a43fff16;hpb=325cb4833db7e3fd396720f12a27b880b63f4173;p=quix0rs-gnu-social.git diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index cf7c9acc14..a93a6842bb 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -76,7 +76,7 @@ class AttachmentList extends Widget */ function show() { - $att = File::getAttachments($this->notice->id); + $att = $this->notice->attachments(); if (empty($att)) return 0; $this->showListStart();