diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-14 13:26:20 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-14 13:26:20 +0100 |
commit | 8154b4be7de8c0f9616b3fb0d4b8385204615c61 (patch) | |
tree | ec4de72775066c6bbd7775dd258de5c7f3a7b097 /core/ajax | |
parent | 9a0cb2ccaa92731a14e079a024bb38c934130d78 (diff) | |
download | nextcloud-server-8154b4be7de8c0f9616b3fb0d4b8385204615c61.tar.gz nextcloud-server-8154b4be7de8c0f9616b3fb0d4b8385204615c61.zip |
use display name as sender for private link mails, approved in #2294
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 9201b48cb95..7ebd8949710 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -110,7 +110,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo // send it out now try { - OCP\Util::sendMail($to_address, $to_address, $subject, $text, $from_address, $user); + OCP\Util::sendMail($to_address, $to_address, $subject, $text, $from_address, $displayName); OCP\JSON::success(); } catch (Exception $exception) { OCP\JSON::error(array('data' => array('message' => OC_Util::sanitizeHTML($exception->getMessage())))); |