Don't break kolab_storage_cache::select() return data if reading one single cache entry fails

This commit is contained in:
Thomas Bruederli 2014-08-19 19:20:15 +02:00
parent 26f71de1db
commit a9805a9063

View file

@ -491,7 +491,7 @@ class kolab_storage_cache
else if ($fetchall && ($object = $this->_unserialize($sql_arr))) {
$result[] = $object;
}
else {
else if (!$fetchall) {
// only add msguid to dataset index
$result[] = $sql_arr;
}