]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-transfer.php
Users can now change receive status for coupons
[mailer.git] / inc / modules / member / what-transfer.php
index cf6fec76cfa512bc46b1a8b9491cee4e4121fde4..b535b08da2b5d221aa5556052c2877c02baa576a 100644 (file)
@@ -340,7 +340,7 @@ switch ($mode) {
                $content['rows'] = $OUT;
 
                // Remeber total amount
-               $content['total'] = $totalPoints;
+               $content['total_points'] = $totalPoints;
 
                // Load final template
                loadTemplate('member_transfer_list', false, $content);
@@ -427,7 +427,7 @@ KEY (`party_userid`)
                $content['rows'] =  $OUT;
 
                // Remeber total amount
-               $content['total'] = $total;
+               $content['total_points'] = $total;
 
                // Set title
                $content['title'] = '{--TRANSFER_LIST_ALL--}';
@@ -504,7 +504,7 @@ KEY (`party_userid`)
 FROM
        `{?_MYSQL_PREFIX?}_user_transfers_out`
 WHERE
-       `time_trans` > (UNIX_TIMESTAMP() - {?transfer_timeout?}) AND
+       (UNIX_TIMESTAMP() - `time_trans`) >= {?transfer_timeout?} AND
        `userid`=%s
 ORDER BY
        `time_trans` DESC