Patch applied to imap.inc. But messages still do not get sorted correctly.
Steffen
On Sat, 25 Mar 2006 19:53:35 +0000, sofar <[EMAIL PROTECTED]> wrote:
>
>
> On Sat, 25 Mar 2006 12:31:10 -0500 (EST), Jon Daley
> <[EMAIL PROTECTED]> wrote:
>> What do you mean when you say you haven't spotted this in CVS?
>> You have version 1.16, which is the latest (as far as I know).
>
> that means that even though a fix was proposed, confirmed and ready that
> noone has committed it yet to CVS.
>
> Auke
>
>
>>
>> On Sat, 25 Mar 2006, sofar wrote:
>>> yup that fixes it. Still not spotted this in CVS tho!
>>>
>>> diff -u -r1.16 imap.inc
>>> --- program/lib/imap.inc 23 Mar 2006 22:32:33 -0000 1.16
>>> +++ program/lib/imap.inc 25 Mar 2006 17:22:27 -0000
>>> @@ -1413,8 +1413,8 @@
>>> while (list($key, $val)=each($a)){
>>>
>>> if ($field=="timestamp"){
>>> - $data = @strtotime($value->date);
>>> - if ($data != false)
>>> + $timestamp = @strtotime($val->date);
>>> + if ($timestamp != false)
>>> $data = $timestamp;
>>> }
>>> else {