]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_bonus.php
- Rewrites to use more the userid than the actual email address when sending
[mailer.git] / inc / monthly / monthly_bonus.php
index a4b8f85652420ac6e163c4a203929edef8d6fb42..037b2a949c7f0a5f65f2b467d4648f7fe9f88086 100644 (file)
@@ -95,7 +95,7 @@ LIMIT {?bonus_ranks?}', __FILE__, __LINE__);
 
                                // Load email template and email it away
                                $message = loadEmailTemplate('member_bonus', $content, bigintval($content['userid']));
-                               sendEmail($content['email'], '{--MEMBER_MONTHLY_BONUS_WON_SUBJECT--}', $message);
+                               sendEmail($content['userid'], '{--MEMBER_MONTHLY_BONUS_WON_SUBJECT--}', $message);
                        } // END - if
                } // END - while