From 5743ec9ac1efaa3379dae699acd9213e62c53abe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 30 Oct 2009 12:01:36 +0000 Subject: [PATCH] SQL fix --- mailid_top.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5