diff --git a/verify.php b/verify.php index 92ca4f7..a6e1ad1 100644 --- a/verify.php +++ b/verify.php @@ -4,7 +4,7 @@ require_once "config.php"; function send_verify_notification($username) { - global $link; + global $link, $mailer; // send admin mail $sql = "SELECT email FROM users WHERE type = 'admin'"; $stmt = mysqli_prepare($link, $sql);