]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/transaction_functions.php
Removed 2nd parameter for assert() as this is only available in PHP 5.4.8+ but Mailer...
[mailer.git] / inc / libs / transaction_functions.php
index 6e47230b46325a25b17e9ec4809fa05e52a2b552..26839aa6bb044477c4ee99a28385c880edba2039 100644 (file)
@@ -365,7 +365,7 @@ function ifUserHasTransactionFeeExempt ($username) {
                $GLOBALS[__FUNCTION__][$username] = FALSE;
 
                // "Determine" it
-               $GLOBALS[__FUNCTION__][$username] = (getTotalAmountByUserid($username) < getConfig('transaction_fee_exempt_amount'));
+               $GLOBALS[__FUNCTION__][$username] = (getTotalPoints($username) < getConfig('transaction_fee_exempt_amount'));
        } // END - if
 
        // Return cache