Use in_array_nocase() also for \\Noselect flag check (#1490466)

pull/282/merge
Aleksander Machniak 9 years ago
parent 19a61851ae
commit f0feb7701e

@ -285,7 +285,7 @@ function rcmail_subscription_form($attrib)
// Check \Noselect flag (of existing folder)
if (!$protected && in_array($folder['id'], $a_unsubscribed)) {
$attrs = $STORAGE->folder_attributes($folder['id']);
$noselect = in_array('\\Noselect', $attrs);
$noselect = in_array_nocase('\\Noselect', $attrs);
}
$disabled = (($protected && $subscribed) || $noselect);

Loading…
Cancel
Save