]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/coupon_filter.php
Large code cleanups:
[mailer.git] / inc / filter / coupon_filter.php
index 4a9f0fca2966e06592e13e298370bcf574d1d0dc..6d6a5485fea6208f397cc8a2a469adf808c0e56c 100644 (file)
@@ -55,8 +55,8 @@ function FILTER_COUPON_CHANGE_POINTS_COLUMN_NAME ($filterData) {
 function FILTER_POST_CASH_COUPON ($filterData) {
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        // Now we just need to book that points on the user's account
-       initReferalSystem();
-       addPointsThroughReferalSystem('coupon_cashed', $filterData['userid'], $filterData['points']);
+       initReferralSystem();
+       addPointsThroughReferralSystem('coupon_cashed', $filterData['userid'], $filterData['points']);
 
        // Subtract points from member account if the admin has selected one
        if (isValidUserId(getCouponUserid())) {