summaryrefslogtreecommitdiff
path: root/plugins/kolab_addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-11-26 11:38:31 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-11-26 11:38:31 (GMT)
commitf4ad8ff62d26405bb0b0af2813e54a2b81216500 (patch)
tree23d71a363784a2f3e33203761062dc977f6403d7 /plugins/kolab_addressbook
parent176585664f7812ac2d18c0f5fa1f9195b2d2fb04 (diff)
downloadroundcubemail-plugins-kolab-f4ad8ff62d26405bb0b0af2813e54a2b81216500.tar.gz
Small fix to the last commit
Diffstat (limited to 'plugins/kolab_addressbook')
-rw-r--r--plugins/kolab_addressbook/kolab_addressbook.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php
index 912d34c..f2a896d 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.php
+++ b/plugins/kolab_addressbook/kolab_addressbook.php
@@ -36,10 +36,10 @@ class kolab_addressbook extends rcube_plugin
private $rc;
private $ui;
- const GLOBAL_FIRST = 0;
+ const GLOBAL_FIRST = 0;
const PERSONAL_FIRST = 1;
- const GLOBAL_ONLY = 2;
- const PERSONAL_ONLY = 3;
+ const GLOBAL_ONLY = 2;
+ const PERSONAL_ONLY = 3;
/**
* Startup method of a Roundcube plugin
@@ -381,7 +381,7 @@ class kolab_addressbook extends rcube_plugin
$folder = kolab_storage::get_folder($id);
// try with unencoded (old-style) identifier
- if (!$folder || ($folder->type != 'contact' && $id != $p['id'])) {
+ if ((!$folder || $folder->type != 'contact') && $id != $p['id']) {
$folder = kolab_storage::get_folder($p['id']);
}