fix email from field

in the DB the field is from_email and not fromEmail
This commit is contained in:
ZwF 2023-11-23 14:12:58 -05:00 committed by GitHub
parent 2dd17108dd
commit 5192cbc944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
$smtpPort = $row["smtp_port"];
$smtpUsername = $row["smtp_username"];
$smtpPassword = $row["smtp_password"];
$fromEmail = $row["fromEmail"] ?? "wallos@wallosapp.com";
$fromEmail = $row["from_email"] ?? "wallos@wallosapp.com";
} else {
echo "Notifications are disabled. No need to run.";
}
@ -87,4 +87,4 @@
}
}
?>
?>