diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 79dd7ee56683..a64bf52c8f19 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -151,6 +151,13 @@ public function get($file) { $data['storage_mtime'] = $data['mtime']; } $data['permissions'] = (int)$data['permissions']; + // Oracle stores empty strings as null... + if (is_null($data['name'])) { + $data['name'] = ''; + } + if (is_null($data['path'])) { + $data['path'] = ''; + } return new CacheEntry($data); } else if (!$data and is_string($file)) { if (isset($this->partial[$file])) {