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:
commit
c9921ec127
|
@ -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' => '/',
|
||||
|
|
Loading…
Reference in New Issue