[RCD] Saving "Special Folders" breaks custom sort order of special folders

Michael Heydekamp listuser at freexp.de
Fri Jun 7 00:13:28 CEST 2013


Just found that small glitch:

The sort order of special folders is customized in the config this way
(different to the default sort order):

> $rcmail_config['default_folders'] = array('INBOX', 'INBOX.Sent', 'INBOX.Drafts', 'INBOX.Trash', 'INBOX.Junk');

This is being reflected in the database this way:

s:15:"default_folders";a:5:{i:0;s:5:"INBOX";i:1;s:10:"INBOX.Sent";i:2;s:12:"INBOX.Drafts";i:3;s:11:"INBOX.Trash";i:4;s:10:"INBOX.Junk";
}

All OK. But when I (accidentally or deliberately) save the page "Special
Folders", the custom sort order in the database is being replaced with the
default sort order, although config and database are telling different.

This is not by design, is it...?

Cheers,
-- 
Michael Heydekamp
Co-Admin freexp.de
Düsseldorf/Germany


More information about the dev mailing list