From b85459964cc7962772359f41f765f4f45004ca8c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 17 Nov 2016 16:31:31 +0100 Subject: [PATCH] fix getting root entry when not provided by the share provider Signed-off-by: Robin Appelman --- apps/files_sharing/lib/SharedStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index 86209f6f744..5b4aa061800 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -94,7 +94,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto private function getSourceRootInfo() { if (is_null($this->sourceRootInfo)) { if (is_null($this->superShare->getNodeCacheEntry())) { - $this->sourceRootInfo = $this->storage->getCache()->get($this->rootPath); + $this->sourceRootInfo = $this->getWrapperStorage()->getCache()->get($this->rootPath); } else { $this->sourceRootInfo = $this->superShare->getNodeCacheEntry(); } -- 2.39.5