diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-14 17:19:55 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-15 09:34:53 +0300 |
commit | 3a5e90fa03f11017f01a88be607640e4f7a9f0fa (patch) | |
tree | 6c1e8601ba3e1c21373e07bf7706b2fda6a9a84a /core | |
parent | cf232c4182a582c6109f67633bd1367f97bd634f (diff) |
Generate a valid URL for link notification
fixes #23197
* Updated unit test
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/share.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 8ece9945c23..44144b791e2 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -70,7 +70,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo \OC::$server->getL10N('lib'), \OC::$server->getMailer(), \OC::$server->getLogger(), - $defaults + $defaults, + \OC::$server->getURLGenerator() ); $result = $mailNotification->sendInternalShareMail($recipientList, $itemSource, $itemType); @@ -108,7 +109,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo \OC::$server->getL10N('lib'), \OC::$server->getMailer(), \OC::$server->getLogger(), - $defaults + $defaults, + \OC::$server->getURLGenerator() ); $expiration = null; |