git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4554
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Fixed encoding of email addresses in our composed messages.
- Fixed folder creation for Courier using Autoconfig options.
- Fixed encoded string handling inside MDN notifications
- - Fixed unfold header routine in imap_messages (for mailbox_display)
+ - Fixed unfold header routine in imap_messages (for mailbox_display).
+ - Make listcommands work with PHP versions 4.0.4 & 4.0.5.
Version 1.4.0 RC 2a
-------------------
foreach ($message->rfc822_header->mlist as $cmd => $actions) {
/* I don't know this action... skip it */
- /* grrr PHP keeps changing their syntax... */
- if( function_exists('array_key_exists') ) {
- if(!array_key_exists($cmd, $fieldsdescr)) {
- continue;
- }
- } elseif ( !key_exists($cmd, $fieldsdescr) ) {
+ /* array_key_exists works only in >= 4.1 */
+ if ( !in_array($cmd, array_keys($fieldsdescr)) ) {
continue;
}