diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-09 15:38:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-10 14:47:41 +0200 |
commit | 527e1d001f7ef2d7b624dfa2df5efea0382e84f1 (patch) | |
tree | ffacb69994867e6cef2912c1b6fe891cb5293204 /apps/files_sharing/lib/share/file.php | |
parent | 3431d547a9834dce70fab8a835862bb276c8575b (diff) | |
download | nextcloud-server-527e1d001f7ef2d7b624dfa2df5efea0382e84f1.tar.gz nextcloud-server-527e1d001f7ef2d7b624dfa2df5efea0382e84f1.zip |
try to get path from filesystem
Diffstat (limited to 'apps/files_sharing/lib/share/file.php')
-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; } |