diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-04-09 16:54:04 +0200 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-04-09 16:54:04 +0200 |
commit | 2de0e2a476eef0a48758cbb408d49008328af9c5 (patch) | |
tree | 1b73039943d651d49ec08a3a769f90c943735c05 | |
parent | 50464559aa522ce04222cebcee3cc6a115aa2902 (diff) | |
download | arfnet2-cstims-2de0e2a476eef0a48758cbb408d49008328af9c5.tar.gz arfnet2-cstims-2de0e2a476eef0a48758cbb408d49008328af9c5.zip |
Missed global on send_register_notification
-rwxr-xr-x | register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/register.php b/register.php index 025eb70..29e3cd1 100755 --- a/register.php +++ b/register.php @@ -15,7 +15,7 @@ function send_verification_email($rcpt, $code) { }
function send_register_notification($username) {
- global $link;
+ global $link, $mailer;
// send admin mail
$sql = "SELECT email FROM users WHERE type = 'admin'";
$stmt = mysqli_prepare($link, $sql);
|