Don't show attachments header if there are no attachments.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 14 Nov 2008 23:31:50 +0000 (16:31 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 16 Nov 2008 17:56:22 +0000 (10:56 -0700)
imp/message.php

index 93f0ee0..de2f83c 100644 (file)
@@ -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') {