From: Roland Häder Date: Fri, 30 Oct 2009 12:01:36 +0000 (+0000) Subject: SQL fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5743ec9ac1efaa3379dae699acd9213e62c53abe;p=mailer.git SQL fix --- diff --git a/mailid_top.php b/mailid_top.php index b63c937417..4c5b7a68a3 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -83,7 +83,7 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr array($url_mid, $url_userid), __FILE__, __LINE__); $type = 'mailid'; $urlId = $url_mid; } elseif ($url_bid > 0) { - $result = SQL_QUERY_ESC("SELECT `id`, link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `bonus_id`=%s AND `userid`=%s LIMIT 1", + $result = SQL_QUERY_ESC("SELECT `id`, `link_type` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `bonus_id`=%s AND `userid`=%s LIMIT 1", array($url_bid, $url_userid), __FILE__, __LINE__); $type = 'bonusid'; $urlId = $url_bid; }