diff options
-rw-r--r-- | apps/files_sharing/lib/share/file.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/share/file.php b/apps/files_sharing/lib/share/file.php index dacdb9308be..a5b4e75bceb 100644 --- a/apps/files_sharing/lib/share/file.php +++ b/apps/files_sharing/lib/share/file.php @@ -49,6 +49,11 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent { $path = $this->path; $this->path = null; return $path; + } else { + $path = \OC\Files\Filesystem::getPath($itemSource); + if ($path) { + return $path; + } } return false; } |