From a732aede824250540585ce11d92ca9ac3466e88a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20K=C5=82opotek=20-=20INTERDUO?= Date: Thu, 16 Jan 2025 14:10:37 +0100 Subject: [PATCH] bugfix: the attachment arrow (indicating the availability of additional attachments for document) was displayed even when no attachments were present In fix we use the same condition as in documentlist module --- templates/default/customer/customerdocuments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/customer/customerdocuments.html b/templates/default/customer/customerdocuments.html index 01d36f360f..e74e42778a 100644 --- a/templates/default/customer/customerdocuments.html +++ b/templates/default/customer/customerdocuments.html @@ -156,7 +156,7 @@ url=$url external=true text=""} {/if} - {if count($doc.attachments) > 1 || !$docattach.type < 1} + {if $doc.attachments|size > 1 || $docattach.type < 1}