Protect INBOX folder even if protected_default_folders=false

pull/5278/merge
Aleksander Machniak 9 years ago
parent 0ce7c493a8
commit ff735fb3a5

@ -271,7 +271,7 @@ function rcmail_subscription_form($attrib)
foreach ($list_folders as $i => $folder) {
$sub_key = array_search($folder['id'], $a_subscribed);
$subscribed = $sub_key !== false;
$protected = $protect_default && isset($special_folders[$folder['id']]);
$protected = $folder['id'] == 'INBOX' || ($protect_default && isset($special_folders[$folder['id']]));
$noselect = false;
$classes = array();

Loading…
Cancel
Save