[imp] Re: repost: attachments size is reported as Zero

Francesco Consumi consumi at istitutodeglinnocenti.it
Sat Nov 1 09:56:25 PST 2003


thanks, but imap is the 2002d version, and I've just upgraded from 2001a,
but none changed.

the strange thing is that the old (2003-07-22) CVS version is working right,
installed and running in the same linux box at another URL : the size of
attachments is showed correctly.
What's been changed in the horde code ?

Many Thanks....


> The relevant code is as follows (mailbox.php:556):
>     if (isset($h->size)) {
>         $msg['size'] = ($h->size > 1024)
>             ? sprintf(_("%.0fkb"), $h->size / 1024)
>             : $h->size;
>     }





More information about the imp mailing list