- Timestamp:
- 05/26/11 08:42:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/inc/class.imap_functions.inc.php
r4514 r4515 3670 3670 $elem['boxname'] = mb_convert_encoding( $name_box, "ISO_8859-1", "UTF7-IMAP" ); 3671 3671 $elem['uid'] = $new_search; 3672 /* compare dates in ordering */ 3673 $elem['udatecomp'] = substr ($elem['udate'], -4) ."-". substr ($elem['udate'], 3, 2) ."-". substr ($elem['udate'], 0, 2); 3672 3674 $retorno[] = $elem; 3673 3675 } … … 3714 3716 $elem['boxname'] = mb_convert_encoding( $name_box, "ISO_8859-1", "UTF7-IMAP" ); 3715 3717 $elem['uid'] = $new_search; 3718 /* compare dates in ordering */ 3719 $elem['udatecomp'] = substr ($elem['udate'], -4) ."-". substr ($elem['udate'], 3, 2) ."-". substr ($elem['udate'], 0, 2); 3716 3720 $retorno[] = $elem; 3717 3721 } … … 3729 3733 3730 3734 /* Comparison functions, descendent is ascendent with parms inverted */ 3731 function SORTDATE($a, $b){ return ($a['udate '] < $b['udate']); }3735 function SORTDATE($a, $b){ return ($a['udatecomp'] < $b['udatecomp']); } 3732 3736 function SORTDATE_REVERSE($b, $a) { return SORTDATE($a,$b); } 3733 3737
Note: See TracChangeset
for help on using the changeset viewer.