summaryrefslogtreecommitdiff
path: root/plugins/kolab_addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-11-14 13:47:38 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-11-14 13:47:38 (GMT)
commitb9f8f0cf436d8f77e21cad89325ad1fac89b68ff (patch)
tree3590c9b2a5f8f576b86569ec9127eafdd6462f85 /plugins/kolab_addressbook
parent262bd2d760a8617579c6ae2a1e2b93ba5242ed66 (diff)
downloadroundcubemail-plugins-kolab-b9f8f0cf436d8f77e21cad89325ad1fac89b68ff.tar.gz
Don't set non-existent css class (000) to some elements
Diffstat (limited to 'plugins/kolab_addressbook')
-rw-r--r--plugins/kolab_addressbook/kolab_addressbook.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php
index 13a32e6..d68c130 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.php
+++ b/plugins/kolab_addressbook/kolab_addressbook.php
@@ -248,7 +248,9 @@ class kolab_addressbook extends rcube_plugin
}
// set class name(s)
- $classes = array($source['group'] ?: '000', 'addressbook');
+ $classes = array('addressbook');
+ if ($source['group'])
+ $classes[] = $source['group'];
if ($current === $id)
$classes[] = 'selected';
if ($source['readonly'])