Skip to content

Commit

Permalink
Merge pull request #16201 from owncloud/stable8-backport-16124
Browse files Browse the repository at this point in the history
Fix the share mail notification when the item is in a folder
  • Loading branch information
LukasReschke committed May 8, 2015
2 parents 21c4331 + dbaaae0 commit f50fc14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/private/share/mailnotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ public function sendInternalShareMail($recipientList, $itemSource, $itemType) {
$args = array(
'dir' => $filename,
);
} else if (strpos($filename, '/')) {
$args = array(
'dir' => '/' . dirname($filename),
'scrollto' => basename($filename),
);
} else {
$args = array(
'dir' => '/',
Expand Down

0 comments on commit f50fc14

Please sign in to comment.