use Notice::attachments() to get attachments for a notice
This commit is contained in:
parent
d918ee95f4
commit
9cab0958f5
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user