}
// Get current month (2 digits)
-$curr = date('m', time());
+$curr = getMonth();
if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && (getOutputMode() != 1)) {
// Extension 'autopurge' is inactive or purging of inactive accounts is deactivated
// 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