]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-transfer.php
Filters for configurable userid exclusion added:
[mailer.git] / inc / modules / member / what-transfer.php
index b8bb61dc81b8187484329e6a750299bedc91cfc9..3d0fca10abc7f92deae94be669670ca9887e60ec 100644 (file)
@@ -281,14 +281,14 @@ switch ($mode) {
                $nothingMessage = '';
                switch ($mode) {
                        case 'list_in':
-                               $sql = 'SELECT `trans_id`, `from_userid` AS party_userid,`points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
+                               $sql = 'SELECT `trans_id`, `from_userid` AS `party_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_in` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
                                $nothingMessage     = '{--MEMBER_TRANSFER_NO_INCOMING_TRANSFERS--}';
                                $content['balance'] = '{--MEMBER_TRANSFER_TOTAL_INCOMING--}';
                                $content['title']   = '{--MEMBER_LIST_INCOMING_TRANSFER_TITLE--}';
                                break;
 
                        case 'list_out':
-                               $sql = 'SELECT `trans_id`, `to_userid` AS party_userid,`points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
+                               $sql = 'SELECT `trans_id`, `to_userid` AS `party_userid`, `points`, `reason`, `time_trans` FROM `{?_MYSQL_PREFIX?}_user_transfers_out` WHERE `userid`=%s ORDER BY `time_trans` DESC LIMIT {?transfer_max?}';
                                $nothingMessage     = '{--MEMBER_TRANSFER_NO_OUTGOING_TRANSFERS--}';
                                $content['balance'] = '{--TRANSFER_TOTAL_OUTGOING--}';
                                $content['title']   = '{--MEMBER_LIST_OUTGOING_TRANSFER_TITLE--}';