summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index d2ac7ed84..c6f964662 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -385,8 +385,10 @@ class NoticeListItem extends Widget
}
function showNoticeAttachments() {
- $al = new InlineAttachmentList($this->notice, $this->out);
- $al->show();
+ if (common_config('attachments', 'show_thumbs')) {
+ $al = new InlineAttachmentList($this->notice, $this->out);
+ $al->show();
+ }
}
/**