summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes/kolab_notes.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kolab_notes/kolab_notes.php')
-rw-r--r--plugins/kolab_notes/kolab_notes.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/kolab_notes/kolab_notes.php b/plugins/kolab_notes/kolab_notes.php
index ad40a86..7553fd1 100644
--- a/plugins/kolab_notes/kolab_notes.php
+++ b/plugins/kolab_notes/kolab_notes.php
@@ -1109,11 +1109,13 @@ class kolab_notes extends rcube_plugin
{
if (!isset($this->relations)) {
$config = kolab_storage_config::get_instance();
- $filter = array(array('type', '=', 'relation'));
$default = true;
- $data_filter = array('category' => 'generic');
+ $filter = array(
+ array('type', '=', 'relation'),
+ array('category', '=', 'generic')
+ );
- $this->relations = $config->get_objects($filter, $default, $data_filter);
+ $this->relations = $config->get_objects($filter, $default);
}
if ($uid === null) {