From 702d430118ec7aaa70de10d30901dd3443875186 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 19 Apr 2010 21:25:01 +0200 Subject: Bug 560215: maxattachmentsize = 0 means that you cannot attach any file to bugs r=mkanat a=LpSolit --- template/en/default/attachment/list.html.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 53f20f236..89eef1836 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -19,6 +19,8 @@ # Frédéric Buclin #%] +[% RETURN UNLESS attachments.size || Param("maxattachmentsize") %] +