Fix typo in last commit

This commit is contained in:
Aleksander Machniak 2013-10-09 10:01:42 +02:00
parent e8f2cd98a3
commit ee30f6fb83

View file

@ -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) {