[dev] PATCH wrong attachment headers counted, display parts was counted ] I think this is another bug, wrong header counted

Jan Schneider jan at horde.org
Fri Sep 16 13:17:56 UTC 2011


Please use the ticket system at bugs.horde.org.

Zitat von Tautvydas ?elvys <tautvydas.zelvys at ktu.lt>:

> 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
>
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list