aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xregister.php2
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);