Commit c9921ec1 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

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
parents bcbf9a9b b4471c25
...@@ -122,6 +122,11 @@ class MailNotifications { ...@@ -122,6 +122,11 @@ class MailNotifications {
$args = array( $args = array(
'dir' => $filename, 'dir' => $filename,
); );
} else if (strpos($filename, '/')) {
$args = array(
'dir' => '/' . dirname($filename),
'scrollto' => basename($filename),
);
} else { } else {
$args = array( $args = array(
'dir' => '/', 'dir' => '/',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment