]> git.mxchange.org Git - mailer.git/blobdiff - birthday_confirm.php
More SQL rewrites, TODO: Put all table and column names in backticks (`)
[mailer.git] / birthday_confirm.php
index daf118af8a5f7c90c1c2cc3ca97e013d3c5a5b22..3af2baa62dbe5fec0274522de14ee202b001eb87 100644 (file)
@@ -61,7 +61,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Check if link is not clicked so far
        $result = SQL_QUERY_ESC("SELECT b.points, d.gender, d.surname, d.family, d.status, d.ref_payout
 FROM "._MYSQL_PREFIX."_user_birthday AS b
-INNER JOIN "._MYSQL_PREFIX."_user_data AS d
+INNER JOIN `"._MYSQL_PREFIX."_user_data` AS d
 ON b.userid=d.userid
 WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
  array($uid, $chk), __FILE__, __LINE__);