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

bugs at horde.org bugs at horde.org
Mon Nov 19 22:52:03 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         | Michael Slusarz <slusarz at horde.org>
  Summary            | typos (lots) in preview
  Queue              | IMP
  Version            | 6.0.1
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-11-19 15:52) wrote:

> imp/lib/Mailbox/List.php:205
>
> $v is used instead of $k as index
> around 8 times
>
> patch: changes the [indexes] to $k

Why do you think this?  $k contains the index of the message in the  
mailbox.  That number can change on any future page load (which is  
precisely why you are seeing incorrect messages being loaded).

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





More information about the bugs mailing list