Small fix to the last commit

This commit is contained in:
Aleksander Machniak 2014-11-26 06:38:31 -05:00
parent 176585664f
commit f4ad8ff62d

View file

@ -381,7 +381,7 @@ class kolab_addressbook extends rcube_plugin
$folder = kolab_storage::get_folder($id); $folder = kolab_storage::get_folder($id);
// try with unencoded (old-style) identifier // 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']); $folder = kolab_storage::get_folder($p['id']);
} }