Prepare query also in count() to fix error when object is given as SQL query parameter
This commit is contained in:
parent
0b82e6bac6
commit
4c02e93f18
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ class kolab_storage_folder
|
|||
else if (is_string($type_or_query))
|
||||
$query = array(array('type','=',$type_or_query));
|
||||
else
|
||||
$query = (array)$type_or_query;
|
||||
$query = $this->_prepare_query((array)$type_or_query);
|
||||
|
||||
// synchronize cache first
|
||||
$this->cache->synchronize();
|
||||
|
|
Loading…
Add table
Reference in a new issue