mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 15:32:54 +01:00
Fix incorrect mail variable
This commit is contained in:
parent
2b550b1819
commit
65bee01fad
@ -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.<br>More information will be available in the logs.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user