[dev] PATCH wrong attachment headers counted, display parts was counted ] I think this is another bug, wrong header counted
Tautvydas Želvys
tautvydas.zelvys at ktu.lt
Fri Sep 16 13:08:23 UTC 2011
Signed-off-by: Tautvydas Želvys <tautvydas.zelvys at ktu.lt>
---
imp/message.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/imp/message.php b/imp/message.php
index 1a044e5..e7fa9cf 100644
--- a/imp/message.php
+++ b/imp/message.php
@@ -666,7 +666,7 @@ if ($show_parts == 'atc') {
$show_atc = true;
}
-if (count($inlineout['display_ids']) > 2) {
+if (count($inlineout['atc_parts']) > 2) {
$a_template->set('download_all',
Horde::widget($imp_contents->urlView($imp_contents->getMIMEMessage(),
'download_all'), _("Download All Attachments (in .zip file)"), 'widget',
'', '', _("Download All Attachments (in .zip file)"), true));
if ($strip_atc) {
$a_template->set('strip_all',
Horde::widget(Horde::selfUrl(true)->remove(array('actionID'))->add(array('actionID'
=> 'strip_all', 'message_token' => $message_token)), _("Strip All
Attachments"), 'widget stripAllAtc', '', '', _("Strip All Attachments"),
true));
--
1.7.5.4
More information about the dev
mailing list