From ee30f6fb8368ba8ee59fcdcd805d41eaef126f33 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 9 Oct 2013 10:01:42 +0200 Subject: [PATCH] Fix typo in last commit --- plugins/libkolab/lib/kolab_storage_folder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php index 2c421037..0a895b66 100644 --- a/plugins/libkolab/lib/kolab_storage_folder.php +++ b/plugins/libkolab/lib/kolab_storage_folder.php @@ -433,7 +433,7 @@ class kolab_storage_folder // string equals type query // FIXME: should not be called this way! if (is_string($query)) { - return $this->cache->has_type_col() && !empty($type) ? array(array('type','=',$query)) : array(); + return $this->cache->has_type_col() && !empty($query) ? array(array('type','=',$query)) : array(); } foreach ((array)$query as $i => $param) {