Branch 'dev/kolab-cache-refactoring' - plugins/libkolab

Aleksander Machniak machniak at kolabsys.com
Wed Oct 9 10:02:19 CEST 2013


 plugins/libkolab/lib/kolab_storage_folder.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ee30f6fb8368ba8ee59fcdcd805d41eaef126f33
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Wed Oct 9 10:01:42 2013 +0200

    Fix typo in last commit

diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php
index 2c42103..0a895b6 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) {




More information about the commits mailing list