]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/autopurge_functions.php
Next wave of more use of EL, see ticket #176
[mailer.git] / inc / libs / autopurge_functions.php
index 8d7ace168ddca39794a3d5663facafa9c4b9ea18..8c5372fd113553a9ea909716d9e3f16930ee094c 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -47,7 +48,7 @@ function addPointsAutoPurge ($userid, $points) {
        addPointsDirectly('autopurge_add', $userid, $points);
 
        // Send out mail to user
-       $message = loadEmailTemplate('member_autopurge_points', translateComma($points), $userid);
+       $message = loadEmailTemplate('member_autopurge_points', array('points' => $points), $userid);
        sendEmail($userid, getMessage('AUTOPURGE_MEMBER_SUBJECT'), $message);
 }