PHP 4.0 Bug #6027: imap_sort by SORTARRIVAL works randomly
| From: | dale at ownsu dot net | Date: | Tue, 08 Aug 2000 18:21:20 +0000 |
| Subject: | PHP 4.0 Bug #6027: imap_sort by SORTARRIVAL works randomly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28132@lists.php.net to get a copy of this message | ||
From: dale@ownsu.net
Operating system: Linux 2.2.16
PHP version: 4.0.1pl2
PHP Bug Type: IMAP related
Bug description: imap_sort by SORTARRIVAL works randomly
imap_sort($inbox, 1, 1);
OR
imap_sort($inbox, "SORTARRIVAL", 1);
seems to sort by message date instead of arrival date, which incorrectly sorts inboxes with invalid
dates (i.e. the unix epoch).