]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-transfer.php
More SQLs rewritten fix_menu.php is now 'pool-ed'
[mailer.git] / inc / modules / member / what-transfer.php
index 7f0f3268deb4d3350fcec7f1a3d5de708fbdabdd..5c4db42a09e3f96e6f854eea4569b756227a2d50 100644 (file)
@@ -389,8 +389,8 @@ KEY (`party_userid`)
                SQL_FREERESULT($result);
 
                // As the last table transfer data from outgoing table to temporary
-               $result = SQL_QUERY_ESC("SELECT `trans_id`, `to_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `id` LIMIT %s",
-                       array(getUserId(), getConfig('transfer_max')), __FILE__, __LINE__);
+               $result = SQL_QUERY_ESC("SELECT `trans_id`, `to_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `id` LIMIT {?transfer_max?}",
+                       array(getUserId()), __FILE__, __LINE__);
                while ($DATA = SQL_FETCHROW($result)) {
                        $DATA[] = 'OUT';
                        $DATA = implode("','", $DATA);