plugins/kolab_addressbook
Aleksander Machniak
machniak at kolabsys.com
Wed Nov 26 12:40:30 CET 2014
plugins/kolab_addressbook/kolab_addressbook.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f4ad8ff62d26405bb0b0af2813e54a2b81216500
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Wed Nov 26 06:38:31 2014 -0500
Small fix to the last commit
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']);
}
More information about the commits
mailing list