Enable groups import options selector if there's at least one writable source (with groups support)

pull/121/head
Aleksander Machniak 11 years ago
parent 96f59c6150
commit bdb4276688

@ -58,7 +58,7 @@ function rcmail_import_form($attrib)
}
// selector for group import options
if (count($writable_books) > 1 || $writable_books[0]->groups) {
if (count($writable_books) >= 1 || $writable_books[0]->groups) {
$select = new html_select(array('name' => '_groups', 'id' => 'rcmimportgroups', 'is_escaped' => true));
$select->add(rcube_label('none'), '0');
$select->add(rcube_label('importgroupsall'), '1');

Loading…
Cancel
Save