]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-wernis.php
More cached wrapper functions introduced
[mailer.git] / inc / modules / member / what-wernis.php
index 8cd3a295f5e5dc990327d7a0dffb951480f68b9d..3e3189811f4adae4d2c53dd4daecca2f6f39ce69 100644 (file)
@@ -120,7 +120,7 @@ if ((!isGetRequestParameterSet('mode')) || (getRequestParameter('mode') == 'choo
        $points = countSumTotalData(getMemberId(), 'user_points', 'points') - countSumTotalData(getMemberId(), 'user_data', 'used_points');
 
        // Remove the registration fee
-       $points = $points - getConfig('points_register');
+       $points = $points - getPointsRegister();
 
        // Is there a percentage or fixed fee?
        $points = WERNIS_TAKE_FEE($points, 'payout');