X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmonthly%2Fmonthly_bonus.php;h=500f9f23d471c6e37bc6eee3dc638bc97288bcb1;hb=fc162164725588cf75969f707faead9c9cd8e68b;hp=43edf8d258407165558537768086692fb9ea92b6;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index 43edf8d258..500f9f23d4 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -1,7 +1,7 @@ "); - // Get current month (2 digits) $curr = date('m', time()); @@ -98,13 +98,9 @@ LIMIT {?bonus_ranks?}", __FILE__, __LINE__); // Add points to user's account directly addPointsDirectly('monthly_bonus', $content['userid'], $content['points']); - // Translate gender/points - $content['gender'] = translateGender($content['gender']); - $content['points'] = translateComma($content['points']); - // Load email template and email it away $message = loadEmailTemplate('member_bonus', $content, bigintval($content['userid'])); - sendEmail($content['email'], getMessage('BONUS_MONTHLY_ONLINE_BONUS'), $message); + sendEmail($content['email'], '{--BONUS_MONTHLY_ONLINE_BONUS--}', $message); } // END - if } // END - while @@ -122,5 +118,5 @@ SET SQL_FREERESULT($result_main); } // END - if -// +// [EOF] ?>