]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-payout.php
Random code added which you may use for cache-busters (see OpenX for an example)
[mailer.git] / inc / modules / member / what-payout.php
index 496ca955f7987cc0ce35858b117557c03971bce0..9b92f19014450021cc4ac512617dc1897b32ae60 100644 (file)
@@ -53,7 +53,7 @@ $TPTS = 0;
 while (list($lvl, $per) = SQL_FETCHROW($result_depths))
 {
        // Load referral points
-       $result_points = SQL_QUERY_ESC("SELECT points FROM "._MYSQL_PREFIX."_user_points WHERE userid=%s AND ref_depth=%s LIMIT 1",
+       $result_points = SQL_QUERY_ESC("SELECT points FROM "._MYSQL_PREFIX."_user_points WHERE userid=%s AND ref_depth=%d LIMIT 1",
         array($GLOBALS['userid'], bigintval($lvl)), __FILE__, __LINE__);
        if (SQL_NUMROWS($result_points) == 1)
        {