Menu

#2564 Mailbox cache TOTAL undefined after delete

Development CVS
open
nobody
5
2008-01-30
2008-01-30
No

Per Thierry Godefroy (see http://thread.gmane.org/gmane.mail.squirrelmail.devel/9186\):

From the message list, when deleting some messages without sending them to the trash folder, I -sometimes- get the following notice:

Catégorie : PHP
Message : Undefined index: TOTAL
FILE:
/home/melinda/www/SquirrelMail-devel/html/functions/mailbox_display.php
LINE: 1475
Catégorie : PHP
Message : Undefined offset: 0
FILE:
/home/melinda/www/SquirrelMail-devel/html/functions/mailbox_display.php
LINE: 1475

Context:
- The mailbox contains more than two messages.
- I check the first two message in the list, I check the "don't send to trash" check box, and I press the delete button.

This has been tested on several mailboxes, with various messages, but I could not find any reliable way to reproduce this bug (it happens about 50% of the time).

Discussion


Log in to post a comment.