diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-20 09:04:22 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-20 21:12:26 +0100 |
commit | 9467859e42638476006004cfc0020b3247f51724 (patch) | |
tree | fe4e72ef595b852a93023ce5ffc690b6568a4d4c /apps | |
parent | 894a88ca516c69304d902bb6a98c5bcdb15becea (diff) | |
download | nextcloud-server-9467859e42638476006004cfc0020b3247f51724.tar.gz nextcloud-server-9467859e42638476006004cfc0020b3247f51724.zip |
Get correct path for activity downloads
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/controllers/sharecontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php index f717dadf576..2ed5db5f00f 100644 --- a/apps/files_sharing/lib/controllers/sharecontroller.php +++ b/apps/files_sharing/lib/controllers/sharecontroller.php @@ -357,7 +357,7 @@ class ShareController extends Controller { // Subset of files is downloaded foreach ($files_list as $file) { $subNode = $node->get($file); - $nodePath = $userFolder->getRelativePath($node->getPath()); + $nodePath = $userFolder->getRelativePath($subNode->getPath()); if ($subNode instanceof \OCP\Files\File) { $this->activityManager->publishActivity( 'files_sharing', Activity::SUBJECT_PUBLIC_SHARED_FILE_DOWNLOADED, [$nodePath], '', [], |