Huge rewrite:
[mailer.git] / inc / monthly / monthly_bonus.php
index 06ea9acb00de05ef4664f3b0253364ee0b7e4eba..d18b95c6cd7502f437945d6d7bc4b663d7809dd7 100644 (file)
@@ -105,8 +105,8 @@ LIMIT %s",
                                $content['points'] = translateComma($content['points']);
 
                                // Load email template and email it away
-                               $msg = LOAD_EMAIL_TEMPLATE("member_bonus", $content['points'], bigintval($content['uid']));
-                               sendEmail($content['email'], getMessage('BONUS_MONTHLY_ONLINE_BONUS'), $msg);
+                               $message = LOAD_EMAIL_TEMPLATE('member_bonus', $content['points'], bigintval($content['uid']));
+                               sendEmail($content['email'], getMessage('BONUS_MONTHLY_ONLINE_BONUS'), $message);
                        } // END - if
                } // END - while