Don't break kolab_storage_cache::select() return data if reading one single cache entry fails
This commit is contained in:
parent
26f71de1db
commit
a9805a9063
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ class kolab_storage_cache
|
||||||
else if ($fetchall && ($object = $this->_unserialize($sql_arr))) {
|
else if ($fetchall && ($object = $this->_unserialize($sql_arr))) {
|
||||||
$result[] = $object;
|
$result[] = $object;
|
||||||
}
|
}
|
||||||
else {
|
else if (!$fetchall) {
|
||||||
// only add msguid to dataset index
|
// only add msguid to dataset index
|
||||||
$result[] = $sql_arr;
|
$result[] = $sql_arr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue