From: nupplaPhil Date: Sun, 2 Feb 2020 08:15:05 +0000 (+0100) Subject: switched intend X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6700467ed41d840fca2d5a959c69632fae400994;p=friendica.git switched intend --- diff --git a/mod/lostpass.php b/mod/lostpass.php index e412c49586..5856148d7d 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -157,11 +157,11 @@ function lostpass_generate_password($user) ', DI::baseUrl(), $user['nickname'], $new_password)); $email = DI::emailer() - ->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n()) - ->withMessage(DI::l10n()->t('Your password has been changed at %s', $sitename), $preamble, $body) - ->forUser($user['uid'] ?? 0) - ->withRecipient($user['email']) - ->build(); + ->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n()) + ->withMessage(DI::l10n()->t('Your password has been changed at %s', $sitename), $preamble, $body) + ->forUser($user['uid'] ?? 0) + ->withRecipient($user['email']) + ->build(); DI::emailer()->send($email); }