From 9cab0958f5506aa4a3fd3e4bbd9be4c67b1531d3 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 2 Aug 2011 18:22:06 -0400 Subject: [PATCH] use Notice::attachments() to get attachments for a notice --- lib/attachmentlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5