Fix for wrong array element, translation of points added
[mailer.git] / inc / monthly / monthly_bonus.php
index de9bf0b9ccc0002156d19666c5702dd9040f8ee1..459afa67a00f32bc1e7ead0cd9a7b32db5844d6f 100644 (file)
@@ -88,8 +88,9 @@ ORDER BY active_bonus DESC, userid LIMIT %s",
                                // Add points to user's account directly
                                ADD_POINTS_REFSYSTEM($content['uid'], $content['points'], false, "0", false, "direct");
 
-                               // Translate gender
+                               // Translate gender/points
                                $content['gender'] = TRANSLATE_GENDER($content['gender']);
+                               $content['points'] = TRANSLATE_COMMA($content['points']);
 
                                // Load email template and email it away
                                $msg = LOAD_EMAIL_TEMPLATE("member_bonus", $content['points'], bigintval($content['uid']));