X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fcoupon_filter.php;h=00ae170d8edaa4f2debc8cd18e23144a01378b59;hp=e240452512ed16257e2d2d03323b38665646c985;hb=ca256746fe0757a23df4064824c8fe2087ad5634;hpb=387d390181f4aefd6d1e6d8fe16d9697801e99d7 diff --git a/inc/filter/coupon_filter.php b/inc/filter/coupon_filter.php index e240452512..00ae170d8e 100644 --- a/inc/filter/coupon_filter.php +++ b/inc/filter/coupon_filter.php @@ -59,7 +59,7 @@ function FILTER_POST_CASH_COUPON ($filterData) { addPointsThroughReferralSystem('coupon_cashed', $filterData['userid'], $filterData['points']); // Subtract points from member account if the admin has selected one - if (isValidUserId(getCouponUserid())) { + if (isValidId(getCouponUserid())) { // Subtract from this account and ignore return status subtractPoints('cashed_coupon', getCouponUserid(), $filterData['points']); } // END - if