summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-19 17:20:15 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-21 08:29:12 (GMT)
commita9805a90637468d1c753c55965c8101b72f0a714 (patch)
treef5b72c725d2c99bb7a65646deb4894132a34ba51 /plugins/libkolab
parent26f71de1dbc146e71f692ec8ad09642b50f3a08d (diff)
downloadroundcubemail-plugins-kolab-a9805a90637468d1c753c55965c8101b72f0a714.tar.gz
Don't break kolab_storage_cache::select() return data if reading one single cache entry fails
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_storage_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php
index 75728d1..d56f04d 100644
--- a/plugins/libkolab/lib/kolab_storage_cache.php
+++ b/plugins/libkolab/lib/kolab_storage_cache.php
@@ -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;
}