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

This commit is contained in:
Joas Schilling 2015-05-06 15:44:19 +02:00
parent f2d46693c6
commit b4471c2591
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' => '/',