[Tickets #11724] Re: typos (lots) in preview

bugs at horde.org bugs at horde.org
Mon Nov 19 22:55:38 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11724
------------------------------------------------------------------------------
  Ticket             | 11724
  Updated By         | viktor at szepe.net
  Summary            | typos (lots) in preview
  Queue              | IMP
  Version            | 6.0.1
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


viktor at szepe.net (2012-11-19 22:55) wrote:

> $v is correctly used since it contains the UID of the message.

here $v comes from the foreach, later on it becomes a huge array:

foreach ($ids as $k => $v) {
     if (!isset($fetch_res[$v])) {
         continue;
     }

     $f = $fetch_res[$v];
     $v = array(
         'envelope' => $f->getEnvelope(),
         'flags' => $f->getFlags(),
         'headers' => $f->getHeaders('imp',  
Horde_Imap_Client_Data_Fetch::HEADER_PARSE),
         'idx' => $k,
         'mailbox' => $mbox,
         'size' => $f->getSize(),
         'uid' => $f->getUid()
     );

     if (($options['preview'] === 2) ||





More information about the bugs mailing list