X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_bonus.php;h=d18b95c6cd7502f437945d6d7bc4b663d7809dd7;hb=509ae618cc32ba2b811cf66567d62abc597dc405;hp=06ea9acb00de05ef4664f3b0253364ee0b7e4eba;hpb=3f51c40f4fede87228216f9285b745a339e3891d;p=mailer.git diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index 06ea9acb00..d18b95c6cd 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -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