]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/birthday_mails.php
Possible fix for missing OUTPUT_MODE, thanks to narutofanxxxll
[mailer.git] / inc / mails / birthday_mails.php
index bb5b53496ffea036f066bdda263fb2385878ee23..609c65af8d1618c7a892f41d62b937ec87ea7f08 100644 (file)
@@ -64,7 +64,7 @@ $result_birthday = SQL_QUERY_ESC("SELECT userid, email, birth_year
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE `status`='CONFIRMED' AND birth_day=%s AND birth_month=%s AND birthday_sent < (UNIX_TIMESTAMP() - ".(getConfig('one_day') * 364).")".$add."
 ORDER BY `userid` ASC",
-       array($day, $month, $value), __FILE__, __LINE__);
+array($day, $month, $value), __FILE__, __LINE__);
 
 if (SQL_NUMROWS($result_birthday) > 0) {
        // Start sending out birthday mails
@@ -89,7 +89,7 @@ if (SQL_NUMROWS($result_birthday) > 0) {
 
                        // Insert row into database
                        SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_user_birthday` (userid, points, chk_value) VALUES ('%s','%s','%s' )",
-                               array(bigintval($content['userid']), getConfig('birthday_points'), $content['check']), __FILE__, __LINE__);
+                       array(bigintval($content['userid']), getConfig('birthday_points'), $content['check']), __FILE__, __LINE__);
 
                        // Load email template with confirmation link
                        $msg = LOAD_EMAIL_TEMPLATE("member_birthday_confirm", $content, bigintval($content['userid']));
@@ -103,7 +103,7 @@ if (SQL_NUMROWS($result_birthday) > 0) {
 
                // Remember him that he has received a birthday mail
                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET birthday_sent=UNIX_TIMESTAMP() WHERE userid=%s LIMIT 1",
-                       array(bigintval($content['userid'])), __FILE__, __LINE__);
+               array(bigintval($content['userid'])), __FILE__, __LINE__);
        } // END - while
 
        // Free memory