Skip to content
Snippets Groups Projects
Commit 761540e7 authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

Merge pull request #2320 from ceri/master

Fix erroneous email when folders are shared
parents 418fb98c 17cb47fb
Branches
No related tags found
No related merge requests found
......@@ -95,12 +95,12 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo
// setup the email
$subject = (string)$l->t('User %s shared a file with you', $displayName);
if ($type === 'dir')
if ($type === 'folder')
$subject = (string)$l->t('User %s shared a folder with you', $displayName);
$text = (string)$l->t('User %s shared the file "%s" with you. It is available for download here: %s',
array($displayName, $file, $link));
if ($type === 'dir')
if ($type === 'folder')
$text = (string)$l->t('User %s shared the folder "%s" with you. It is available for download here: %s',
array($displayName, $file, $link));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment