]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/birthday_mails.php
Listing of notifications added
[mailer.git] / inc / mails / birthday_mails.php
index 83d8eb4ea8ca70020ef59b7d71d07ac53fd5f4df..71a616909fae06d31aefc2e608b0a800ac51ff4c 100644 (file)
@@ -96,7 +96,7 @@ if (SQL_NUMROWS($result_birthday) > 0) {
                }
 
                // Send email
-               SEND_EMAIL($email, HAPPY_BIRTHDAY, $msg);
+               SEND_EMAIL($uid, HAPPY_BIRTHDAY, $msg);
 
                // Remember him that he has received a birthday mail
                $result_bd = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET birthday_sent=UNIX_TIMESTAMP() WHERE userid=%s LIMIT 1",