From: Michael M Slusarz Date: Fri, 14 Nov 2008 23:31:50 +0000 (-0700) Subject: Don't show attachments header if there are no attachments. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ccac201960d01c1c5b2cb3df464ab812629ee325;p=horde.git Don't show attachments header if there are no attachments. --- diff --git a/imp/message.php b/imp/message.php index 93f0ee0cb..de2f83c81 100644 --- a/imp/message.php +++ b/imp/message.php @@ -716,7 +716,7 @@ if (!$printer_friendly) { } /* Show attachment information in headers? */ -if ($show_parts != 'none') { +if (!empty($atc_parts) && ($show_parts != 'none')) { $tmp = array(); if ($show_parts == 'all') {