summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/lib/cache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php
index 07c305bb952..0534d6dd89f 100644
--- a/apps/files_sharing/lib/cache.php
+++ b/apps/files_sharing/lib/cache.php
@@ -48,6 +48,7 @@ class Shared_Cache extends Cache {
if ($storage) {
$this->files[$target] = $internalPath;
$cache = $storage->getCache();
+ $this->storageId = $storage->getId();
$this->numericId = $cache->getNumericStorageId();
return $cache;
}