]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-cash_coupon.php
Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / modules / member / what-cash_coupon.php
index 3e538b9aa21049411afda73987580e8fcad47e58..7c9a24241f70e230ead3059a5bc239b7ef87932f 100644 (file)
@@ -119,7 +119,7 @@ LIMIT 1",
                        } // END - if
 
                        // Now we just need to book that points on the user's account
-                       addPointsThroughReferalSystem('coupon_cashed', getMemberId(), $content['points'], false, 0, getPaymentMethodFromExtensionName('coupon'));
+                       addPointsThroughReferalSystem('coupon_cashed', getMemberId(), $content['points']);
 
                        // Subtract points from member account if the admin has selected one
                        if (isValidUserId(getConfig('coupon_userid'))) {