Commit b4471c25 authored by Joas Schilling's avatar Joas Schilling
Browse files

Fix the share mail notification when the item is in a folder

parent f2d46693
......@@ -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' => '/',
......
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