]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/coupon_filter.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / filter / coupon_filter.php
index e240452512ed16257e2d2d03323b38665646c985..87ee5f70dd514b0faffc17839e070ca8795dea0e 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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