Commit 9cab0958 authored by Evan Prodromou's avatar Evan Prodromou

use Notice::attachments() to get attachments for a notice

parent d918ee95
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment