Mailer project rwritten:
[mailer.git] / inc / filter / coupon_filter.php
index e240452512ed16257e2d2d03323b38665646c985..00ae170d8edaa4f2debc8cd18e23144a01378b59 100644 (file)
@@ -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