summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-10 09:49:58 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-10 09:49:58 +0200
commitbdb42766888404cda7f7e0adbf25c4eee3ed9523 (patch)
tree8cc58a6a052fff31d49c25d07c2703e366c415b7 /program
parent96f59c6150916fe67723c64f325d9de99fed59fa (diff)
Enable groups import options selector if there's at least one writable source (with groups support)
Diffstat (limited to 'program')
-rw-r--r--program/steps/addressbook/import.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/import.inc b/program/steps/addressbook/import.inc
index 1c0357179..60f5d7b61 100644
--- a/program/steps/addressbook/import.inc
+++ b/program/steps/addressbook/import.inc
@@ -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');