diff options
Diffstat (limited to 'settings/admin/controller.php')
-rw-r--r-- | settings/admin/controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/admin/controller.php b/settings/admin/controller.php index d0dcc49f297..7ced57791e9 100644 --- a/settings/admin/controller.php +++ b/settings/admin/controller.php @@ -86,7 +86,7 @@ class Controller { $defaults = new \OC_Defaults(); try { - \OC_Mail::send($email, $_POST['user'], + \OC_Mail::send($email, \OC_User::getDisplayName(), $l->t('test email settings'), $l->t('If you received this email, the settings seem to be correct.'), \OCP\Util::getDefaultEmailAddress('no-reply'), $defaults->getName()); |