Merge pull request #16124 from owncloud/issue-16109-fix-share-email-with-shared-folder

Fix the share mail notification when the item is in a folder
This commit is contained in:
Lukas Reschke 2015-05-08 13:03:28 +02:00
commit c9921ec127
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ class MailNotifications {
$args = array(
'dir' => $filename,
);
} else if (strpos($filename, '/')) {
$args = array(
'dir' => '/' . dirname($filename),
'scrollto' => basename($filename),
);
} else {
$args = array(
'dir' => '/',