From: Bjoern Schiessle Date: Thu, 9 Oct 2014 13:38:40 +0000 (+0200) Subject: try to get path from filesystem X-Git-Tag: v8.0.0alpha1~530^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=527e1d001f7ef2d7b624dfa2df5efea0382e84f1;p=nextcloud-server.git try to get path from filesystem --- 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; }