From 65bee01fadd2a0a5d07c8f8e7ae3402c725d27ac Mon Sep 17 00:00:00 2001 From: Brian Lycett Date: Sat, 27 Mar 2021 16:11:11 +0000 Subject: [PATCH] Fix incorrect mail variable --- www/account_manager/new_user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/account_manager/new_user.php b/www/account_manager/new_user.php index e5e9619..b9694d9 100644 --- a/www/account_manager/new_user.php +++ b/www/account_manager/new_user.php @@ -133,10 +133,10 @@ You should change your password as soon as possible. Go to ${SITE_PROTOCOL}${SE EoT; include_once "mail_functions.inc.php"; - $sent_email = send_email($email,"$first_name $last_name",$mail_subject,$mail_body); + $sent_email = send_email($mail,"$first_name $last_name",$mail_subject,$mail_body); $creation_message = "The account was created"; if ($sent_email) { - $creation_message .= " and an email sent to $email."; + $creation_message .= " and an email sent to $mail."; } else { $creation_message .= " but unfortunately the email wasn't sent.
More information will be available in the logs.";